1
0
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:
echel0n 2014-05-22 23:45:49 -07:00
parent b499e4b6db
commit 43219e34e3

View File

@ -83,12 +83,6 @@ class TransmissionAPI(GenericClient):
ratio = None
if 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)