summaryrefslogtreecommitdiffstats
path: root/deluge/core/torrent.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/core/torrent.py')
-rw-r--r--deluge/core/torrent.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py
index 972ffc6ba..68e09a86f 100644
--- a/deluge/core/torrent.py
+++ b/deluge/core/torrent.py
@@ -375,7 +375,9 @@ class Torrent(object):
self.update_state()
break
- self.options["file_priorities"] = file_priorities
+ self.options["file_priorities"] = self.handle.file_priorities()
+ if self.options["file_priorities"] != list(file_priorities):
+ log.warning("File priorities were not set for this torrent")
# Set the first/last priorities if needed
self.set_prioritize_first_last(self.options["prioritize_first_last_pieces"])