Label: Fix move on completed

This commit is contained in:
Andrew Resch 2009-01-02 03:25:39 +00:00
commit 08b92148ca
2 changed files with 9 additions and 2 deletions

View file

@ -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

View file

@ -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"