diff options
Diffstat (limited to 'module/thread_list.py')
-rw-r--r-- | module/thread_list.py | 2 |
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() |