@cybojenix this
This commit is contained in:
parent
28cb06c84b
commit
8eff33b1f7
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ import os
|
||||||
|
|
||||||
class Config(dict):
|
class Config(dict):
|
||||||
def __init__(self, name, *args, **kwargs):
|
def __init__(self, name, *args, **kwargs):
|
||||||
self.path = os.path.abspath(name)
|
self.path = os.path.abspath("{}.json".format(name))
|
||||||
self.update(*args, **kwargs)
|
self.update(*args, **kwargs)
|
||||||
|
|
||||||
def reload(self):
|
def reload(self):
|
||||||
|
|
Reference in a new issue