This commit is contained in:
Kai Wansart 2018-02-02 18:00:54 +01:00
parent e428292861
commit 2d55f4ddfe

View File

@ -70,6 +70,7 @@ class Config(object):
def writeConfig(self, type, data): def writeConfig(self, type, data):
##-----------------------------------------------------------------------------------## ##-----------------------------------------------------------------------------------##
path = os.path.dirname(os.path.abspath(__file__)) path = os.path.dirname(os.path.abspath(__file__))
path = path.replace('/app', '')
print(path) print(path)
if(type == "settings"): if(type == "settings"):
print("Writing 'settings.json'") print("Writing 'settings.json'")