fix double logger

This commit is contained in:
əlemi 2022-04-24 03:21:45 +02:00
parent e52b4d5a37
commit b73a352484
No known key found for this signature in database
GPG key ID: BBCBFE5D7244634E

View file

@ -32,7 +32,8 @@ def main():
if obj != Addon and inspect.isclass(obj) and issubclass(obj, Addon): if obj != Addon and inspect.isclass(obj) and issubclass(obj, Addon):
addons.add(obj) addons.add(obj)
except Exception as e: except Exception as e:
logging.debug("Error importing module %s : %s", py_path, str(e)) # logging.debug("Error importing module %s : %s", py_path, str(e)) # TODO if we log anything here we get everything logged twice?
pass
help_text = '\n\naddons (enabled via config file):' help_text = '\n\naddons (enabled via config file):'