Skip to content

Commit

Permalink
proper settings defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Higgins committed Mar 4, 2015
1 parent 86c3c89 commit b51e15a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readSettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def __init__(self, directory, filename):
'ssl': "False",
'api_key': '',
'web_root': '',
'user': '',
'pass': '' }
'username': '',
'password': '' }
# Default MP4 conversion settings
mp4_defaults = {'ffmpeg': 'ffmpeg.exe',
'ffprobe': 'ffprobe.exe',
Expand Down Expand Up @@ -99,8 +99,8 @@ def __init__(self, directory, filename):
'ssl': "False",
'api_key': '',
'web_root': '',
'user': '',
'pass': '' }
'username': '',
'password': '' }

defaults = {'SickBeard': sb_defaults, 'CouchPotato': cp_defaults, 'Sonarr': sonarr_defaults, 'MP4': mp4_defaults, 'uTorrent': utorrent_defaults, 'SABNZBD': sab_defaults, 'Sickrage': sr_defaults}
write = False # Will be changed to true if a value is missing from the config file and needs to be written
Expand Down

0 comments on commit b51e15a

Please sign in to comment.