mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Merge pull request #549 from sammy2142/patch-1
Fixes Invalid ratio error when ratio is not set for transmission
This commit is contained in:
commit
0257c70990
@ -85,7 +85,7 @@ class TransmissionAPI(GenericClient):
|
||||
ratio = result.ratio
|
||||
elif sickbeard.TORRENT_RATIO:
|
||||
ratio = sickbeard.TORRENT_RATIO
|
||||
|
||||
if ratio:
|
||||
try:
|
||||
float(ratio)
|
||||
except ValueError:
|
||||
|
Loading…
Reference in New Issue
Block a user