Rev2142, Fix random wrong data dir path
This commit is contained in:
parent
12ca870e38
commit
c8f37674c6
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ class Config(object):
|
|||
|
||||
def __init__(self, argv):
|
||||
self.version = "0.5.6"
|
||||
self.rev = 2141
|
||||
self.rev = 2142
|
||||
self.argv = argv
|
||||
self.action = None
|
||||
self.config_file = "zeronet.conf"
|
||||
|
@ -61,7 +61,7 @@ class Config(object):
|
|||
else:
|
||||
fix_float_decimals = False
|
||||
|
||||
this_file = os.path.abspath(__file__).replace("\\", "/")
|
||||
this_file = os.path.abspath(__file__).replace("\\", "/").replace("Config.pyc", "Config.py")
|
||||
|
||||
if this_file.endswith("/Contents/Resources/core/src/Config.py"):
|
||||
# Running as ZeroNet.app
|
||||
|
|
Loading…
Reference in a new issue