|
@ -38,10 +38,11 @@ class Transmission(Downloader): |
|
|
'download-dir': folder_path |
|
|
'download-dir': folder_path |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
torrent_params = { |
|
|
if self.conf('ratio'): |
|
|
'seedRatioLimit': self.conf('ratio'), |
|
|
torrent_params = { |
|
|
'seedRatioMode': (0 if self.conf('ratio') else 1) |
|
|
'seedRatioLimit': self.conf('ratio'), |
|
|
} |
|
|
'seedRatioMode': self.conf('ratio') |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if not filedata and data.get('type') == 'torrent': |
|
|
if not filedata and data.get('type') == 'torrent': |
|
|
log.error('Failed sending torrent, no data') |
|
|
log.error('Failed sending torrent, no data') |
|
|