From 78806a2223d9d4a779085602d1f2158d771d2cd4 Mon Sep 17 00:00:00 2001 From: Justin Nielsen Date: Tue, 7 Oct 2014 13:39:11 -0700 Subject: [PATCH] Fixes SR setting SeedIdleLimit no matter what --- gui/slick/interfaces/default/config_search.tmpl | 2 +- sickbeard/clients/transmission.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 gui/slick/interfaces/default/config_search.tmpl mode change 100644 => 100755 sickbeard/clients/transmission.py diff --git a/gui/slick/interfaces/default/config_search.tmpl b/gui/slick/interfaces/default/config_search.tmpl old mode 100644 new mode 100755 index 4b3c1520..4fa6887b --- a/gui/slick/interfaces/default/config_search.tmpl +++ b/gui/slick/interfaces/default/config_search.tmpl @@ -558,7 +558,7 @@ diff --git a/sickbeard/clients/transmission.py b/sickbeard/clients/transmission.py old mode 100644 new mode 100755 index e8482fe6..8194aff0 --- a/sickbeard/clients/transmission.py +++ b/sickbeard/clients/transmission.py @@ -107,7 +107,7 @@ class TransmissionAPI(GenericClient): 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,