Merge pull request #8 from lastsamurai26/patch-1

Updating Space issue on Mac
This commit is contained in:
Martin Brodbeck 2018-01-30 09:37:41 +01:00 committed by GitHub
commit b960e5810b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,8 +51,7 @@ def read_settings():
elif sys.platform == 'win32':
settings_base_dir = os.getenv('LOCALAPPDATA') + os.sep + 'radiorec'
elif sys.platform == 'darwin':
settings_base_dir = os.getenv('HOME') + os.sep + 'Library' + os.sep
+ 'Application Support' + os.sep + 'radiorec'
settings_base_dir = os.getenv('HOME') + os.sep + 'Library' + os.sep + 'Application Support' + os.sep + 'radiorec'
settings_base_dir += os.sep
config = configparser.ConfigParser()
try: