Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed May 30, 2024
1 parent bee50db commit b77cee7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions wis2-grep-management/wis2_grep/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ def str2bool(value: Any) -> bool:
GB = os.environ.get('WIS2_GREP_GB')
GB_TOPIC = os.environ.get('WIS2_GREP_GB_TOPIC')

print(API_URL, API_URL_DOCKER, BACKEND_TYPE, BACKEND_CONNECTION, CENTRE_ID, GB, GB_TOPIC)

if None in [API_URL, API_URL_DOCKER, BACKEND_TYPE, BACKEND_CONNECTION,
CENTRE_ID, GB, GB_TOPIC]:
raise EnvironmentError('Environment variables not set!')

0 comments on commit b77cee7

Please sign in to comment.