diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2017-02-21 10:35:51 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2017-02-21 10:36:04 +0000 |
commit | 10ebf9b0b0a75b30e4ea7526a6f44619b91dfa60 (patch) | |
tree | ca1e1862eeaafcac0159584f24bcf5922ffd594f | |
parent | 3ba5443c76306dc6263ef7adcc61a3991a5e25e9 (diff) | |
download | deluge-10ebf9b0b0a75b30e4ea7526a6f44619b91dfa60.tar.gz deluge-10ebf9b0b0a75b30e4ea7526a6f44619b91dfa60.tar.bz2 deluge-10ebf9b0b0a75b30e4ea7526a6f44619b91dfa60.zip |
Fix mistakes in commit 42ba908
commit accidentally pushed before being tested
-rw-r--r-- | deluge/core/torrent.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 15d3bdea7..1f78055d9 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -586,7 +586,7 @@ class Torrent(object): if not self.options["file_priorities"]: # Ensure file_priorities option is populated. - set_file_priorities([]) + self.set_file_priorities([]) return self.options["file_priorities"] @@ -686,7 +686,6 @@ class Torrent(object): "compact": self.options["compact_allocation"], "distributed_copies": distributed_copies, "download_payload_rate": self.status.download_payload_rate, - "file_priorities": self.get_file_priorities, "hash": self.torrent_id, "is_auto_managed": self.options["auto_managed"], "is_finished": self.is_finished, @@ -785,6 +784,7 @@ class Torrent(object): fns = { "comment": ti_comment, "eta": self.get_eta, + "file_priorities": self.get_file_priorities, "file_progress": self.get_file_progress, "files": self.get_files, "is_seed": self.handle.is_seed, |