From 3f308e21eea53549ec6f244c1961b7abd68f7a11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20K=C3=A5berg?= Date: Sat, 9 Mar 2013 09:07:55 +0100 Subject: [PATCH] minor correction --- TorrentToMedia.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index 60f1ef1c..cb4e5454 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -143,7 +143,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash): Logger.error("MAIN: Failed to connect to uTorrent: %s", e) Logger.debug("MAIN: Deleting torrent %s from uTorrent", inputName) - utorrentClass.stop(inputHash) + utorrentClass.removedata(inputHash) time.sleep(5) # Give uTorrent some time to catch up with the change #### quick 'n dirty hardlink solution for uTorrent, need to implent support for deluge, transmission @@ -155,7 +155,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash): Logger.error("MAIN: Failed to connect to uTorrent: %s", e) Logger.debug("MAIN: Stoping torrent %s in uTorrent while processing", inputName) - utorrentClass.removedata(inputHash) + utorrentClass.stop(inputHash) time.sleep(5) # Give uTorrent some time to catch up with the change ##### quick 'n dirty hardlink solution for uTorrent, need to implent support for deluge, transmission