Merge pull request #124 from rajbot/master

Fix messages.dat reader.py for darwin/osx
This commit is contained in:
Jonathan Warren 2013-04-11 09:49:52 -07:00
commit 1869e416eb
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ APPNAME = "PyBitmessage"
from os import path, environ
if sys.platform == 'darwin':
if "HOME" in environ:
appdata = path.join(os.environ["HOME"], "Library/Application support/", APPNAME) + '/'
appdata = path.join(environ["HOME"], "Library/Application support/", APPNAME) + '/'
else:
print 'Could not find home folder, please report this message and your OS X version to the BitMessage Github.'
sys.exit()