Module: deluge
Branch: master
Commit: 0314d0440fbe2905906cc9edb2c0d01a8265822a

Author: John Garland <[email protected]>
Date:   Thu May 20 00:04:43 2010 +1000

Fix typo in execute plugin

---

 deluge/plugins/execute/execute/core.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/deluge/plugins/execute/execute/core.py 
b/deluge/plugins/execute/execute/core.py
index 457f442..dec95d6 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"]

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to