From 022a535dec06666bffc9e94b1acd2c2c0d0f3a89 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 19 May 2009 01:38:25 +0000 Subject: [PATCH] Add missing methods to set move on completed path --- deluge/core/torrent.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 060d34d93..6e9b887a8 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -295,6 +295,12 @@ class Torrent: def set_remove_at_ratio(self, remove_at_ratio): self.options["remove_at_ratio"] = remove_at_ratio + def set_move_completed(self, move_completed): + self.options["move_completed"] = move_completed + + def set_move_completed_path(self, move_completed_path): + self.options["move_completed_path"] = move_completed_path + def set_file_priorities(self, file_priorities): if len(file_priorities) != len(self.files): log.debug("file_priorities len != num_files")