diff options
-rwxr-xr-x | comedyGenerator/comedyGenerator.py | 8 |
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) |