Skip to content

Commit

Permalink
Rev2142, Fix random wrong data dir path
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Jul 11, 2017
1 parent 12ca870 commit c8f3767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -61,7 +61,7 @@ def createArguments(self):
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
Expand Down

0 comments on commit c8f3767

Please sign in to comment.