mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 01:43:37 +00:00
Fix for transmission torrent client and ratio's
This commit is contained in:
parent
b499e4b6db
commit
43219e34e3
1 changed files with 0 additions and 6 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue