Skip to content

Commit

Permalink
Fixed issue 232
Browse files Browse the repository at this point in the history
  • Loading branch information
ukdtom committed Jan 22, 2017
1 parent 538acb2 commit d5e55c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Contents/Code/consts.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self):
try:
versionFile = Core.storage.join_path(Core.app_support_path, Core.config.bundles_dir_name, NAME + '.bundle', 'VERSION')
with io.open(versionFile, "rb") as version_file:
VERSION = version_file.readline().split('\\', 1)[-1]
VERSION = version_file.read().splitlines()[0]
except:
if not self.isCorrectPath():
VERSION = '*** WRONG INSTALL PATH!!!!....Correct path is: ' + Core.storage.join_path(Core.app_support_path, Core.config.bundles_dir_name, NAME + '.bundle' + '***')
Expand Down

0 comments on commit d5e55c2

Please sign in to comment.