Fix messages.dat reader.py for darwin/osx #124

Merged
rajbot merged 1 commits from master into master 2013-04-11 18:49:52 +02:00
Showing only changes of commit 59f4e8ede8 - Show all commits

View File

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