summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Garland <johnnybg+deluge@gmail.com>2010-05-20 00:04:43 +1000
committerJohn Garland <johnnybg+deluge@gmail.com>2010-05-20 00:06:18 +1000
commit2e55769c188a3850388331c825dcdcd80f36b19a (patch)
tree140403e6e4e9bd5da28222c91d3f8f71f8a87390
parent259d2633e7adb77d71bbd9436466b6d30bb7325b (diff)
downloaddeluge-2e55769c188a3850388331c825dcdcd80f36b19a.tar.gz
deluge-2e55769c188a3850388331c825dcdcd80f36b19a.tar.bz2
deluge-2e55769c188a3850388331c825dcdcd80f36b19a.zip
Fix typo in execute plugin
-rw-r--r--deluge/plugins/execute/execute/core.py2
1 files changed, 1 insertions, 1 deletions
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"]