Removed botname from paths
This commit is contained in:
parent
90d9938fc0
commit
3f5d8c605b
3 changed files with 3 additions and 5 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue