correction for the comparision in previous commit

This commit is contained in:
Calum Lind 2012-01-19 01:28:39 +00:00
parent 98dcc8e3b1
commit 375ee2dd1c
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ class Torrent(object):
break break
self.options["file_priorities"] = self.handle.file_priorities() self.options["file_priorities"] = self.handle.file_priorities()
if self.options["file_priorities"] != file_priorities: if self.options["file_priorities"] != list(file_priorities):
log.warning("File priorities were not set for this torrent") log.warning("File priorities were not set for this torrent")
# Set the first/last priorities if needed # Set the first/last priorities if needed