1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Merge pull request #832 from seiki/master

fix transmission seed time
This commit is contained in:
adam111316 2014-09-25 16:49:17 +08:00
commit c94da47bab

View File

@ -107,7 +107,7 @@ class TransmissionAPI(GenericClient):
def _set_torrent_seed_time(self, result):
if sickbeard.TORRENT_SEED_TIME:
time = 60 * float(sickbeard.TORRENT_SEED_TIME)
time = int(60 * float(sickbeard.TORRENT_SEED_TIME))
arguments = {'ids': [result.hash],
'seedIdleLimit': time,
'seedIdleMode': 1