This commit is contained in:
Kai Wansart 2018-02-02 18:08:23 +01:00
parent ef30197682
commit ad10ce28c1

View File

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