From 4aa57b400c37741a16775e179a3da93c290ca99e Mon Sep 17 00:00:00 2001 From: msglm Date: Sat, 11 May 2024 16:54:48 -0500 Subject: Fix multitask pooling on GUIX --- comedyGenerator/comedyGenerator.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/comedyGenerator/comedyGenerator.py b/comedyGenerator/comedyGenerator.py index d3d81aa..5ab38ba 100755 --- a/comedyGenerator/comedyGenerator.py +++ b/comedyGenerator/comedyGenerator.py @@ -244,12 +244,12 @@ for tags in args.tags: pool = Pool(args.jobs) for video in videos: if args.verbose: - print("Sending " + video.name + " to multiprocessing pool") - pool.apply_async(download, (video.url, video.name,)) + print("Sending " + video.url + " to multiprocessing pool") + pool.apply_async(download, (video.url, video.name)) if args.verbose: print("closing the multiprocessing pool") - pool.close() - pool.join() + #pool.close() + #pool.join() elif args.noDownload == False: for video in videos: download(video.url, video.name) -- cgit v1.2.3