mirror of
https://github.com/kemayo/leech
synced 2025-12-06 16:33:16 +01:00
Change order of config loading so site-specific overrides of cover/image work
This commit is contained in:
parent
4856649424
commit
e2bc6eba1c
1 changed files with 3 additions and 3 deletions
6
leech.py
6
leech.py
|
|
@ -90,11 +90,11 @@ def create_options(site, site_options, unused_flags):
|
||||||
# and overridden, and flag-specified options together in that order.
|
# and overridden, and flag-specified options together in that order.
|
||||||
options = dict(
|
options = dict(
|
||||||
list(default_site_options.items()) +
|
list(default_site_options.items()) +
|
||||||
|
list(cover_options.items()) +
|
||||||
|
list(image_options.items()) +
|
||||||
list(configured_site_options.items()) +
|
list(configured_site_options.items()) +
|
||||||
list(overridden_site_options.items()) +
|
list(overridden_site_options.items()) +
|
||||||
list(flag_specified_site_options.items()) +
|
list(flag_specified_site_options.items())
|
||||||
list(cover_options.items()) +
|
|
||||||
list(image_options.items())
|
|
||||||
)
|
)
|
||||||
return options, login
|
return options, login
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue