Fixes: ```sh python scripts/init.py newsite https://newsite.com # [INFO] gallery_dl/extractor/newsite.py # [ERROR] TypeError: 'NoneType' object is not iterable # Traceback (most recent call last): # File "/gallery-dl/scripts/init.py", line 58, in init_extractor # fp.write(func(args)) # ^^^^^^^^^^ # File "/gallery-dl/scripts/init.py", line 88, in generate_module # {generate_extractors(args)}\ # ^^^^^^^^^^^^^^^^^^^^^^^^^ # File "/gallery-dl/scripts/init.py", line 108, in generate_extractors_basic # for subcat in args.subcategories: # TypeError: 'NoneType' object is not iterable # [INFO] gallery_dl/extractor/__init__.py # [INFO] test/results/newsite.py ```
10 KiB
Executable File
10 KiB
Executable File