Private GIT

Skip to content
Snippets Groups Projects
Commit 43219e34 authored by echel0n's avatar echel0n
Browse files

Fix for transmission torrent client and ratio's

parent b499e4b6
No related branches found
No related tags found
No related merge requests found
...@@ -83,12 +83,6 @@ class TransmissionAPI(GenericClient): ...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment