This commit is contained in:
Kai Wansart 2018-02-02 17:54:28 +01:00
parent f9205fdc55
commit e428292861

View File

@ -34,7 +34,7 @@ class Config(object):
##-----------------------------------------------------------------------------------##
def read(self, type):
##-----------------------------------------------------------------------------------##
path = os.getcwd()
path = os.path.dirname(os.path.abspath(__file__))
data = None
if(type == "settings"):
print("Reading 'settings.json'")
@ -69,7 +69,7 @@ class Config(object):
##-----------------------------------------------------------------------------------##
def writeConfig(self, type, data):
##-----------------------------------------------------------------------------------##
path = os.getcwd()
path = os.path.dirname(os.path.abspath(__file__))
print(path)
if(type == "settings"):
print("Writing 'settings.json'")