From 979daf6a4daae605b2a39e916c16015437fac98d Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 12 Jun 2009 15:36:48 +0200 Subject: little fixes --- module/thread_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/thread_list.py') 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() -- cgit v1.2.3