Merge pull request #2270 from fuzeman/feature/dev_rtorrent

rTorrent Downloader fixes
This commit is contained in:
Ruud Burger
2013-09-30 11:23:00 -07:00
3 changed files with 10 additions and 7 deletions
@@ -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'))