]> jfr.im git - erebus.git/blobdiff - config.py
Added DB usage, fixed error in config.py, added __str__ __repr__ to Bot, BotConnection
[erebus.git] / config.py
index c41e806bc78da21719d8cc833a2d156a124c5179..af470cb4a63f9f85e8fbf9ffb543d48f8120f8f8 100644 (file)
--- a/config.py
+++ b/config.py
@@ -18,7 +18,7 @@ class Config(object):
                return self.config.items('erebus')
 
        def write(self):
-               with open(self._filename, 'wb') as configfile:
+               with open(self.filename, 'wb') as configfile:
                        self.config.write(configfile)
 
        def __del__(self):