mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fix for transmission torrent client and ratio's
This commit is contained in:
parent
b499e4b6db
commit
43219e34e3
@ -83,12 +83,6 @@ class TransmissionAPI(GenericClient):
|
|||||||
ratio = None
|
ratio = None
|
||||||
if result.ratio:
|
if result.ratio:
|
||||||
ratio = result.ratio
|
ratio = result.ratio
|
||||||
if ratio:
|
|
||||||
try:
|
|
||||||
float(ratio)
|
|
||||||
except ValueError:
|
|
||||||
logger.log(self.name + u': Invalid Ratio. "' + ratio + u'" is not a number', logger.ERROR)
|
|
||||||
return False
|
|
||||||
|
|
||||||
torrent_id = self._get_torrent_hash(result)
|
torrent_id = self._get_torrent_hash(result)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user