diff options
author | Damien Churchill <damien.churchill@ukplc.net> | 2010-06-04 17:37:45 +0100 |
---|---|---|
committer | Damien Churchill <damien.churchill@ukplc.net> | 2010-06-04 17:37:45 +0100 |
commit | d69b8e1099ad314eb6155c0aa14355882da7b507 (patch) | |
tree | 551543c27fd1397729e6571d861b6f9d1b41af3e | |
parent | 88daf82cb0262c2122a9ee3d1ca9077da746f0e9 (diff) | |
download | deluge-d69b8e1099ad314eb6155c0aa14355882da7b507.tar.gz deluge-d69b8e1099ad314eb6155c0aa14355882da7b507.tar.bz2 deluge-d69b8e1099ad314eb6155c0aa14355882da7b507.zip |
Fix an error in the key
-rw-r--r-- | 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 3f1398278..2fa825f69 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"] |