mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Merge pull request #599 from nielsenj/patch-2
Fixed setting ratio in Transmission
This commit is contained in:
commit
cfc56a569d
@ -88,10 +88,10 @@ class TransmissionAPI(GenericClient):
|
||||
|
||||
mode = 0
|
||||
if ratio:
|
||||
if float(ratio) == 0:
|
||||
if float(ratio) == -1:
|
||||
ratio = 0
|
||||
mode = 2
|
||||
elif float(ratio) > 0:
|
||||
elif float(ratio) >= 0:
|
||||
ratio = float(ratio)
|
||||
mode = 1 # Stop seeding at seedRatioLimit
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user