summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2024-05-11 16:54:48 -0500
committermsglm <msglm@techchud.xyz>2024-05-11 16:54:48 -0500
commit4aa57b400c37741a16775e179a3da93c290ca99e (patch)
treed5ea9d8e2cbe91d1e25a4b12bb7a05eb2c772f7e
parentf4036585629bba17662c88c53855ede5940919c8 (diff)
downloadcomedyGenerator-1.0.4.tar.gz
comedyGenerator-1.0.4.tar.bz2
comedyGenerator-1.0.4.zip
Fix multitask pooling on GUIXHEADv1.0.4master
-rwxr-xr-xcomedyGenerator/comedyGenerator.py8
1 files 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)