diff options
| author | 2018-08-30 11:40:41 +0100 | |
|---|---|---|
| committer | 2018-08-30 11:40:41 +0100 | |
| commit | 568d714fb2c17f67ebbff725efc8851f51ee870d (patch) | |
| tree | 84750885d1f4a9382c01e8ee7390e318d00756e8 /Config.py | |
| parent | IRCServer.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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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()) |
