Skip to content

Commit

Permalink
Merge pull request midgetspy#853 from nielsenj/fixSeedIdleTime
Browse files Browse the repository at this point in the history
Fixes SR setting SeedIdleLimit no matter what
  • Loading branch information
adam111316 committed Oct 8, 2014
2 parents 8d76e98 + 78806a2 commit e4fad0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gui/slick/interfaces/default/config_search.tmpl
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@
<label class="nocheck clearfix">
<span class="component-title">&nbsp;</span>
<span class="component-desc">Duration (in hours) to seed for<br>
(SickRage default '0' passes blank to downloader)</span>
(SickRage default '0' passes blank to downloader; '-1' does not set Seed Time)</span>
</label>
</div>

Expand Down
2 changes: 1 addition & 1 deletion sickbeard/clients/transmission.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _set_torrent_ratio(self, result):

def _set_torrent_seed_time(self, result):

if sickbeard.TORRENT_SEED_TIME:
if sickbeard.TORRENT_SEED_TIME and sickbeard.TORRENT_SEED_TIME != -1:
time = int(60 * float(sickbeard.TORRENT_SEED_TIME))
arguments = {'ids': [result.hash],
'seedIdleLimit': time,
Expand Down

0 comments on commit e4fad0b

Please sign in to comment.