Module: deluge Branch: 1.3-stable Commit: d69b8e1099ad314eb6155c0aa14355882da7b507
Author: Damien Churchill <[email protected]> Date: Fri Jun 4 17:37:45 2010 +0100 Fix an error in the key --- deluge/plugins/execute/execute/core.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/plugins/execute/execute/core.py b/deluge/plugins/execute/execute/core.py index 3f13982..2fa825f 100644 --- a/deluge/plugins/execute/execute/core.py +++ b/deluge/plugins/execute/execute/core.py @@ -93,12 +93,12 @@ class Core(CorePluginBase): def execute_commands(self, torrent_id, event): torrent = component.get("TorrentManager").torrents[torrent_id] - info = torrent.get_status(["name", "save_path", "move_completed", "move_on_completed_path"]) + info = torrent.get_status(["name", "save_path", "move_on_completed", "move_on_completed_path"]) # Grab the torrent name and save path torrent_name = info["name"] if event == "complete": - save_path = info["move_on_completed_path"] if info ["move_completed"] else info["save_path"] + save_path = info["move_on_completed_path"] if info ["move_on_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.
