From 6342fe2e0869b47f1d56dce5f47036af2237e9c9 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 7 Feb 2008 23:19:17 +0000 Subject: [PATCH] Set file_priorities default value to [] if not priorities have been set. --- deluge/core/torrent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 156e5f71a..a7d14e7b0 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -101,6 +101,7 @@ class Torrent: # Files dictionary self.files = self.get_files() + self.file_priorities = [] def set_tracker_status(self, status): """Sets the tracker status"""