Fixes the way threading works
This commit is contained in:
@@ -87,7 +87,7 @@ if __name__ == "__main__":
|
||||
r = r[start - 1:end]
|
||||
|
||||
for index in reversed(r):
|
||||
t = threading.Thread(name=str(comic) + str(index), target=load_strip, args=(base_path, comic, index, args.plain, thread_limit))
|
||||
t = threading.Thread(name=str(comic.get_identifier_string()) + "-" + str(index), target=load_strip, args=(base_path, comic, index, args.plain, thread_limit))
|
||||
threads.append(t)
|
||||
t.start()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user