diff --git a/library/pytorrent_manager.py b/library/pytorrent_manager.py index ac7dfd6d1..1937f0129 100644 --- a/library/pytorrent_manager.py +++ b/library/pytorrent_manager.py @@ -49,6 +49,9 @@ class preferences: def __init__: self.max_connections = 60 # Etc. etc. etc. + # Prepare queue (queue is pickled, just like everything else) + self.queue = [] # queue[x] is the unique_ID of the x-th queue position. Simple. + class manager: def __init__(self, pref_filename): print "Init" @@ -63,9 +66,6 @@ class manager: except IOError: self.preferences = new preferences() - # Prepare queue - self.queue = [] # queue[x] is the unique_ID of the x-th queue position. Simple. - # How does the queue get updated? Use biology def quit(self):