Merge pull request #8 from lastsamurai26/patch-1
Updating Space issue on Mac
This commit is contained in:
commit
b960e5810b
1 changed files with 1 additions and 2 deletions
|
@ -51,8 +51,7 @@ def read_settings():
|
||||||
elif sys.platform == 'win32':
|
elif sys.platform == 'win32':
|
||||||
settings_base_dir = os.getenv('LOCALAPPDATA') + os.sep + 'radiorec'
|
settings_base_dir = os.getenv('LOCALAPPDATA') + os.sep + 'radiorec'
|
||||||
elif sys.platform == 'darwin':
|
elif sys.platform == 'darwin':
|
||||||
settings_base_dir = os.getenv('HOME') + os.sep + 'Library' + os.sep
|
settings_base_dir = os.getenv('HOME') + os.sep + 'Library' + os.sep + 'Application Support' + os.sep + 'radiorec'
|
||||||
+ 'Application Support' + os.sep + 'radiorec'
|
|
||||||
settings_base_dir += os.sep
|
settings_base_dir += os.sep
|
||||||
config = configparser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue