Fixes the way threading works

This commit is contained in:
2025-08-02 14:01:00 -06:00
parent 83ad521fea
commit 1f7a3e3d36
2 changed files with 26 additions and 35 deletions

View File

@@ -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()