summaryrefslogtreecommitdiffstats
path: root/module/thread_list.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-12 15:36:48 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-12 15:36:48 +0200
commit979daf6a4daae605b2a39e916c16015437fac98d (patch)
tree7f40809a692548717c778ec723fd1fced09cf539 /module/thread_list.py
parentutf-8 encodung, correcting file header (diff)
downloadpyload-979daf6a4daae605b2a39e916c16015437fac98d.tar.xz
little fixes
Diffstat (limited to 'module/thread_list.py')
-rw-r--r--module/thread_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/thread_list.py b/module/thread_list.py
index 850e738db..bfe99c6e2 100644
--- a/module/thread_list.py
+++ b/module/thread_list.py
@@ -32,7 +32,7 @@ class Thread_List(object):
def __init__(self, parent):
self.parent = parent
self.threads = []
- self.max_threads = self.parent.config['max_downloads']
+ self.max_threads = int(self.parent.config['max_downloads'])
self.py_load_files = [] # files in queque
self.f_relation = [0, 0]
self.lock = RLock()