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)