1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-18 07:15:13 -05:00

fix transmission seed time

This commit is contained in:
seiki 2014-09-24 21:47:11 -03:00
parent 41deb957fd
commit 6a17ffae3c

View File

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