Skip to content

Commit

Permalink
Added default value 0 to the max_cache_age setting
Browse files Browse the repository at this point in the history
  • Loading branch information
p0psicles committed May 30, 2016
1 parent 1c36464 commit 1904601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sickbeard/server/web/config/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def saveSearch(self, use_nzbs=None, use_torrents=None, nzb_dir=None, sab_usernam
sickbeard.BACKLOG_DAYS = try_int(backlog_days, 7)

sickbeard.CACHE_TRIMMING = config.checkbox_to_value(cache_trimming)
sickbeard.MAX_CACHE_AGE = try_int(max_cache_age)
sickbeard.MAX_CACHE_AGE = try_int(max_cache_age, 0)

sickbeard.USE_NZBS = config.checkbox_to_value(use_nzbs)
sickbeard.USE_TORRENTS = config.checkbox_to_value(use_torrents)
Expand Down

0 comments on commit 1904601

Please sign in to comment.