Resolved TypeError logging exception with Custom plugin loading (#1042)

pull/1045/head
Chris Caron 2024-01-06 17:25:24 -05:00 committed by GitHub
parent 1da1d4800c
commit 8bff103176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -302,10 +302,9 @@ class PluginManager(metaclass=Singleton):
if module_pyname in self._custom_module_map: if module_pyname in self._custom_module_map:
logger.debug( logger.debug(
'Custom module %s - %d schema(s) (name=%s) ' 'Custom module %s - %d schema(s) (name=%s) '
'loaded in {:.6f}s', 'loaded in %.6fs', _path,
_path, module_name,
len(self._custom_module_map[module_pyname]['notify']), len(self._custom_module_map[module_pyname]['notify']),
(time.time() - t_start)) module_name, (time.time() - t_start))
# Add our plugin name to our module map # Add our plugin name to our module map
self._module_map[module_name] = { self._module_map[module_name] = {