diff --git a/sopel_modules/SpiceBot/Config.py b/sopel_modules/SpiceBot/Config.py index 1a40f54..09b0bf1 100644 --- a/sopel_modules/SpiceBot/Config.py +++ b/sopel_modules/SpiceBot/Config.py @@ -40,7 +40,6 @@ class BotConfig(): return self.config.define_section(name, cls_, validate) def __getattr__(self, name): - stderr(str(name)) ''' will only get called for undefined attributes ''' """We will try to find a core value, or return None""" if hasattr(self.config.core, name): @@ -48,6 +47,7 @@ class BotConfig(): elif name.lower() in self.dict["core"].keys(): return self.dict["core"][str(name).lower()] else: + stderr(str(name)) return None