From 56d502098e4f53f0e85eb367aecb33b36689f34b Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 30 May 2019 22:43:10 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot/Config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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