Skip to content

Commit

Permalink
Fix general config not saving due to:
Browse files Browse the repository at this point in the history
general.py", line 101, in saveGeneral
   sickbeard.GIT_RESET_BRANCHES = git_reset_branches.split(',') if git_reset_branches else []
AttributeError: 'list' object has no attribute 'split'
  • Loading branch information
ratoaq2 committed Aug 7, 2016
1 parent a33244e commit 626c429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sickbeard/server/web/config/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def saveGeneral(self, log_dir=None, log_nr=5, log_size=1, web_port=None, notify_
sickbeard.GIT_USERNAME = git_username
sickbeard.GIT_PASSWORD = git_password
sickbeard.GIT_RESET = config.checkbox_to_value(git_reset)
sickbeard.GIT_RESET_BRANCHES = git_reset_branches.split(',') if git_reset_branches else []
sickbeard.GIT_RESET_BRANCHES = helpers.ensure_list(git_reset_branches)
sickbeard.GIT_PATH = git_path
sickbeard.GIT_REMOTE = git_remote
sickbeard.CALENDAR_UNPROTECTED = config.checkbox_to_value(calendar_unprotected)
Expand Down

0 comments on commit 626c429

Please sign in to comment.