mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-16 06:15:09 -05:00
Possible fix for failed to send torrent errors
This commit is contained in:
parent
54afca0472
commit
88d68cfe11
@ -130,6 +130,7 @@ def snatchEpisode(result, endStatus=SNATCHED):
|
|||||||
dlResult = _downloadResult(result)
|
dlResult = _downloadResult(result)
|
||||||
else:
|
else:
|
||||||
# Snatches torrent with client
|
# Snatches torrent with client
|
||||||
|
result.content = result.provider.getURL(result.url) if not result.url.startswith('magnet') else None
|
||||||
client = clients.getClientIstance(sickbeard.TORRENT_METHOD)()
|
client = clients.getClientIstance(sickbeard.TORRENT_METHOD)()
|
||||||
dlResult = client.sendTORRENT(result)
|
dlResult = client.sendTORRENT(result)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user