From 326479ed1bb42553974da5ccf507318f14afcf44 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Mon, 15 Oct 2018 21:29:20 +1300 Subject: [PATCH] fix qbittorrent to delete permanently. Fixes #1386 --- core/nzbToMediaUtil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/nzbToMediaUtil.py b/core/nzbToMediaUtil.py index a609821e..731c0856 100644 --- a/core/nzbToMediaUtil.py +++ b/core/nzbToMediaUtil.py @@ -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))