Removed botname from paths

This commit is contained in:
Luke Rogers 2013-10-02 11:34:39 +13:00
parent 90d9938fc0
commit 3f5d8c605b
3 changed files with 3 additions and 5 deletions

View file

@ -8,8 +8,8 @@ from watchdog.tricks import Trick
class Config(dict):
def __init__(self, name, logger, *args, **kwargs):
self.filename = "{}.config.json".format(name)
def __init__(self, logger, *args, **kwargs):
self.filename = "config.json"
self.path = os.path.abspath(self.filename)
self.logger = logger
self.update(*args, **kwargs)