From 30f53c08d4dd4fb19684fb223f04bac6f2d0482d Mon Sep 17 00:00:00 2001 From: dymik739 Date: Mon, 24 Oct 2022 19:40:24 +0300 Subject: [PATCH] main.py: mod loader now prints start_on_boot option on module loading stage --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 36896d8..2ece725 100644 --- a/main.py +++ b/main.py @@ -85,7 +85,7 @@ class ModuleControlUnit: self.modules.append( ModuleV1( "modules/{}/".format(folder), code, enabled, alias ) ) - print("[INFO] reload_modules: successfully loaded {} as {}".format(folder, alias)) + print("[INFO] reload_modules: successfully loaded {} as {} (start_on_boot: {})".format(folder, alias, enabled)) else: print("[WARN] reload_modules: module {} requires unsupported version ({} > 1), skipping...".format(folder, meta["version"])) except Exception as e: @@ -122,7 +122,7 @@ class ModuleControlUnit: self.modules.append( ModuleV1( code, enabled, alias ) ) - print("[INFO] reload_modules: successfully loaded {} as {}".format(folder_name, alias)) + print("[INFO] reload_modules: successfully loaded {} as {} (start_on_boot: {})".format(folder_name, alias, enabled)) else: print("[WARN] reload_modules: module {} requires unsupported version ({} > 1), skipping...".format(folder_name, meta["version"])) except Exception as e: