Set file_priorities default value to [] if not priorities have been set.
This commit is contained in:
parent
055e42776a
commit
6342fe2e08
|
@ -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"""
|
||||
|
|
Loading…
Reference in New Issue