Skip to content

Commit

Permalink
Fix wrong log message
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMStraub committed Apr 6, 2023
1 parent e0edecc commit 338837a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gramps_webapi/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ def deprecated_config_from_env(app):
if value:
app.config[option] = value
warnings.warn(
f"Setting the `{value}` config option via the `{value}` environment"
f"Setting the `{option}` config option via the `{option}` environment"
" variable is deprecated and will stop working in the future."
f" Please use `GRAMPSWEB_{value}` instead."
f" Please use `GRAMPSWEB_{option}` instead."
)
return app

Expand Down

0 comments on commit 338837a

Please sign in to comment.