mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Fix mistakes in commit 42ba908
commit accidentally pushed before being tested
This commit is contained in:
parent
3ba5443c76
commit
10ebf9b0b0
1 changed files with 2 additions and 2 deletions
|
@ -586,7 +586,7 @@ class Torrent(object):
|
||||||
|
|
||||||
if not self.options["file_priorities"]:
|
if not self.options["file_priorities"]:
|
||||||
# Ensure file_priorities option is populated.
|
# Ensure file_priorities option is populated.
|
||||||
set_file_priorities([])
|
self.set_file_priorities([])
|
||||||
|
|
||||||
return self.options["file_priorities"]
|
return self.options["file_priorities"]
|
||||||
|
|
||||||
|
@ -686,7 +686,6 @@ class Torrent(object):
|
||||||
"compact": self.options["compact_allocation"],
|
"compact": self.options["compact_allocation"],
|
||||||
"distributed_copies": distributed_copies,
|
"distributed_copies": distributed_copies,
|
||||||
"download_payload_rate": self.status.download_payload_rate,
|
"download_payload_rate": self.status.download_payload_rate,
|
||||||
"file_priorities": self.get_file_priorities,
|
|
||||||
"hash": self.torrent_id,
|
"hash": self.torrent_id,
|
||||||
"is_auto_managed": self.options["auto_managed"],
|
"is_auto_managed": self.options["auto_managed"],
|
||||||
"is_finished": self.is_finished,
|
"is_finished": self.is_finished,
|
||||||
|
@ -785,6 +784,7 @@ class Torrent(object):
|
||||||
fns = {
|
fns = {
|
||||||
"comment": ti_comment,
|
"comment": ti_comment,
|
||||||
"eta": self.get_eta,
|
"eta": self.get_eta,
|
||||||
|
"file_priorities": self.get_file_priorities,
|
||||||
"file_progress": self.get_file_progress,
|
"file_progress": self.get_file_progress,
|
||||||
"files": self.get_files,
|
"files": self.get_files,
|
||||||
"is_seed": self.handle.is_seed,
|
"is_seed": self.handle.is_seed,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue