From 3ee4450b697f4494ccb8e2959fabce788effda40 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 30 May 2019 16:20:21 -0400 Subject: [PATCH] testing --- sopel_modules/SpiceBot/Config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sopel_modules/SpiceBot/Config.py b/sopel_modules/SpiceBot/Config.py index 954083e..1a40f54 100644 --- a/sopel_modules/SpiceBot/Config.py +++ b/sopel_modules/SpiceBot/Config.py @@ -2,6 +2,7 @@ from __future__ import unicode_literals, absolute_import, division, print_function """A way to read the bot's config without bot""" +from sopel.tools import stderr from sopel.cli.run import build_parser, get_configuration import sys @@ -39,6 +40,7 @@ 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):