aboutsummaryrefslogtreecommitdiff
path: root/Config.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-30 11:40:41 +0100
committerGravatar jesopo2018-08-30 11:40:41 +0100
commit568d714fb2c17f67ebbff725efc8851f51ee870d (patch)
tree84750885d1f4a9382c01e8ee7390e318d00756e8 /Config.py
parentIRCServer.remove_own_mode doesn't take an "arg" (diff)
signature
Return config from Config.load_config instead of setting it on bot
Diffstat (limited to 'Config.py')
-rw-r--r--Config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Config.py b/Config.py
index 21a144cf..894c9eb0 100644
--- a/Config.py
+++ b/Config.py
@@ -14,4 +14,4 @@ class Config(object):
with open(self.full_location) as config_file:
parser = configparser.ConfigParser()
parser.read_string(config_file.read())
- self.bot.config = dict(parser["bot"].items())
+ return dict(parser["bot"].items())