mirror of
https://github.com/vale981/releases
synced 2025-03-05 09:41:42 -05:00
Allow conf.py that lacks extensions config
This commit is contained in:
parent
13f8e290de
commit
43133ae3a3
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ def make_app(**kwargs):
|
|||
# Initialize extensions (the internal call to this happens at init time,
|
||||
# which of course had no valid config yet here...)
|
||||
if load_extensions:
|
||||
for extension in real_conf['extensions']:
|
||||
for extension in real_conf.get('extensions', []):
|
||||
# But don't set up ourselves again, that causes errors
|
||||
if extension == 'releases':
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue