From 2e55769c188a3850388331c825dcdcd80f36b19a Mon Sep 17 00:00:00 2001 From: John Garland Date: Thu, 20 May 2010 00:04:43 +1000 Subject: [PATCH] Fix typo in execute plugin --- deluge/plugins/execute/execute/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/plugins/execute/execute/core.py b/deluge/plugins/execute/execute/core.py index 457f44240..dec95d64d 100644 --- a/deluge/plugins/execute/execute/core.py +++ b/deluge/plugins/execute/execute/core.py @@ -97,7 +97,7 @@ class Core(CorePluginBase): # Grab the torrent name and save path torrent_name = info["name"] - if event == "completed": + if event == "complete": save_path = info["move_on_completed_path"] if info ["move_completed"] else info["save_path"] else: save_path = info["save_path"]