mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
fix qbittorrent to delete permanently. Fixes #1386
This commit is contained in:
parent
61a598f5bf
commit
326479ed1b
1 changed files with 1 additions and 1 deletions
|
@ -883,7 +883,7 @@ def remove_torrent(clientAgent, inputHash, inputID, inputName):
|
|||
if clientAgent == 'deluge' and core.TORRENT_CLASS != "":
|
||||
core.TORRENT_CLASS.core.remove_torrent(inputID, True)
|
||||
if clientAgent == 'qbittorrent' and core.TORRENT_CLASS != "":
|
||||
core.TORRENT_CLASS.delete(inputHash)
|
||||
core.TORRENT_CLASS.delete_permanently(inputHash)
|
||||
time.sleep(5)
|
||||
except:
|
||||
logger.warning("Failed to delete torrent {0} in {1}".format(inputName, clientAgent))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue