MyFinalBellyache
2bff6828e1
[scripts/init] Fix error running with default values (#8583)
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
```
2025-11-20 11:00:35 +01:00
..
2025-07-22 20:57:54 +02:00
2024-06-14 01:22:00 +02:00
2024-06-14 01:22:00 +02:00
2024-06-14 01:22:00 +02:00
2025-07-22 20:57:54 +02:00
2025-11-11 22:02:01 +01:00
2021-11-29 18:24:26 +01:00
2025-11-20 11:00:35 +01:00
2025-07-22 20:57:54 +02:00
2025-09-05 22:21:09 +02:00
2025-07-28 18:49:08 +02:00
2025-02-23 18:12:14 +01:00
2025-05-28 09:30:11 +02:00
2025-10-02 20:09:48 +02:00
2025-10-06 19:50:04 +02:00
2025-08-23 19:53:07 +02:00
2025-07-29 16:52:26 +02:00
2025-11-19 16:25:01 +01:00
2025-08-23 19:53:07 +02:00