Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai
autoca
Commits
a9cdc027
Commit
a9cdc027
authored
Jan 07, 2012
by
ale
Browse files
set empty config defaults on make_app()
parent
0ba1819d
Changes
1
Hide whitespace changes
Inline
Side-by-side
autovpn/vpn_app.py
View file @
a9cdc027
...
...
@@ -182,7 +182,7 @@ def new_cert_dl():
return
response
def
make_app
(
config
):
def
make_app
(
config
=
{}
):
app
=
Flask
(
__name__
)
app
.
config
.
update
(
config
)
app
.
config
.
from_envvar
(
'VPN_APP_SETTINGS'
,
silent
=
True
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment