[#2990] [Core] Fix torrent priorities mismatch

* The old priorities instead of updated call to lt were being saved to self.options.
This commit is contained in:
Calum Lind 2017-03-20 08:29:35 +00:00
parent 41acade01a
commit cc69c9c85b

View file

@ -334,7 +334,7 @@ class Torrent(object):
self.update_state()
break
self.options["file_priorities"] = handle_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")