Skip to content

Commit

Permalink
Support for OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
beedaddy committed Oct 5, 2016
1 parent 2622b08 commit aad7f56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions radiorec.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def read_settings():
'HOME') + os.sep + '.config' + os.sep + 'radiorec'
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.sep
config = configparser.ConfigParser()
try:
Expand Down

1 comment on commit aad7f56

@mro
Copy link

@mro mro commented on aad7f56 Oct 5, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see #4

Please sign in to comment.