Skip to content

Commit

Permalink
Relegate config warning to config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
webb-ben committed Dec 27, 2023
1 parent 42abf1a commit 40fcfd1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pygeoapi/flask_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
from pygeoapi.util import get_mimetype, get_api_rules


if 'PYGEOAPI_OPENAPI' not in os.environ:
raise RuntimeError('PYGEOAPI_OPENAPI environment variable not set')

CONFIG = get_config()
OPENAPI = load_openapi_document()

Expand Down

0 comments on commit 40fcfd1

Please sign in to comment.