Fix Path
This commit is contained in:
parent
e428292861
commit
2d55f4ddfe
@ -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'")
|
||||||
|
Reference in New Issue
Block a user