Merge pull request #2270 from fuzeman/feature/dev_rtorrent
rTorrent Downloader fixes
This commit is contained in:
@@ -117,6 +117,10 @@ class rTorrent(Downloader):
|
||||
# Send torrent to rTorrent
|
||||
torrent = self.rt.load_torrent(filedata)
|
||||
|
||||
if not torrent:
|
||||
log.error('Unable to find the torrent, did it fail to load?')
|
||||
return False
|
||||
|
||||
# Set label
|
||||
if self.conf('label'):
|
||||
torrent.set_custom(1, self.conf('label'))
|
||||
|
||||
Reference in New Issue
Block a user