summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAsmageddon <Asmageddon@gmail.com>2012-11-25 20:12:55 +0100
committerAsmageddon <Asmageddon@gmail.com>2012-11-25 20:12:55 +0100
commitd3d07f7f11d664414d4ab2d7dda628ecf956ab4d (patch)
tree0d1a7128fdfb69e8999b21552365d41ba7625965
parentcd41089e49d05da93c96104459954825ce61bcc5 (diff)
downloaddeluge-d3d07f7f11d664414d4ab2d7dda628ecf956ab4d.tar.gz
deluge-d3d07f7f11d664414d4ab2d7dda628ecf956ab4d.tar.bz2
deluge-d3d07f7f11d664414d4ab2d7dda628ecf956ab4d.zip
Fixed setting move on complete option in new console
-rw-r--r--deluge/ui/console/modes/torrent_actions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/deluge/ui/console/modes/torrent_actions.py b/deluge/ui/console/modes/torrent_actions.py
index 2988245e1..fb6a9f4cd 100644
--- a/deluge/ui/console/modes/torrent_actions.py
+++ b/deluge/ui/console/modes/torrent_actions.py
@@ -250,6 +250,8 @@ def torrent_action(idx, data, mode, ids):
for tid in ids:
if "move_on_completed_path" in options:
client.core.set_torrent_move_completed_path(tid, options["move_on_completed_path"])
+ if "move_on_completed" in options:
+ client.core.set_torrent_move_completed(tid, options["move_on_completed"])
if "is_auto_managed" in options:
client.core.set_torrent_auto_managed(tid, options["is_auto_managed"])
if "remove_at_ratio" in options: