mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 07:28:39 +00:00
This commit is contained in:
parent
0a87faee59
commit
842db51672
1 changed files with 3 additions and 3 deletions
|
@ -49,6 +49,9 @@ class preferences:
|
||||||
def __init__:
|
def __init__:
|
||||||
self.max_connections = 60 # Etc. etc. etc.
|
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:
|
class manager:
|
||||||
def __init__(self, pref_filename):
|
def __init__(self, pref_filename):
|
||||||
print "Init"
|
print "Init"
|
||||||
|
@ -63,9 +66,6 @@ class manager:
|
||||||
except IOError:
|
except IOError:
|
||||||
self.preferences = new preferences()
|
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
|
# How does the queue get updated? Use biology
|
||||||
|
|
||||||
def quit(self):
|
def quit(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue