fix path
This commit is contained in:
parent
ef30197682
commit
ad10ce28c1
@ -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'")
|
||||||
|
Reference in New Issue
Block a user