From b73a352484d80a31377b6fa4b7eea1b3a7c3b0ed Mon Sep 17 00:00:00 2001 From: alemidev Date: Sun, 24 Apr 2022 03:21:45 +0200 Subject: [PATCH] fix double logger --- src/treepuncher/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/treepuncher/__main__.py b/src/treepuncher/__main__.py index f9b4179..0c3b3cc 100644 --- a/src/treepuncher/__main__.py +++ b/src/treepuncher/__main__.py @@ -32,7 +32,8 @@ def main(): if obj != Addon and inspect.isclass(obj) and issubclass(obj, Addon): addons.add(obj) 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):'