Fix typeo when calling os.environ in the sys.platform=='darwin' case.

This commit is contained in:
rajbot 2013-04-10 21:39:10 -07:00
parent bd09bd5580
commit 59f4e8ede8
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) + '/'
print 'Could not find home folder, please report this message and your OS X version to the BitMessage Github.'