From 08b92148cac019e22fc415124a0da04159f750b2 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 2 Jan 2009 03:25:39 +0000 Subject: [PATCH] Label: Fix move on completed --- ChangeLog | 3 +++ deluge/plugins/label/label/core.py | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index efc54617a..48588dc11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ Deluge 1.1.0_RC3 (In Development) GtkUI: * Fix folder renaming to display the change properly + Plugins: + * Label: Fix move on completed + Deluge 1.1.0_RC2 (29 December 2008) Core: * Fix new version check diff --git a/deluge/plugins/label/label/core.py b/deluge/plugins/label/label/core.py index 35648f2b4..1837abe47 100644 --- a/deluge/plugins/label/label/core.py +++ b/deluge/plugins/label/label/core.py @@ -219,8 +219,12 @@ class Core(CorePluginBase): torrent.set_remove_at_ratio(options['remove_at_ratio']) if options["apply_move_completed"]: - torrent.set_move_on_completed(options["move_completed"]) - torrent.set_move_on_completed_path(options["move_completed_path"]) + torrent.set_options( + { + "move_completed": options["move_completed"], + "move_completed_path": options["move_completed_path"] + } + ) def _has_auto_match(self, torrent ,label_options): "match for auto_add fields"