Skip to content

Commit 1cc3848

Browse files
committed
Fix lint error
1 parent f0d03b3 commit 1cc3848

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

api/src/api/services/engagement_service.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -551,10 +551,10 @@ def delete(cls, engagement_id: int):
551551
authorization.check_auth(one_of_roles=one_of_roles)
552552

553553
current_env = (
554-
(current_app.config.get('ENVIRONMENT') if has_app_context() else '')
555-
or os.getenv('ENVIRONMENT')
556-
or os.getenv('DEPLOYMENT_ENV')
557-
or os.getenv('FLASK_ENV', 'development')
554+
(current_app.config.get('ENVIRONMENT') if has_app_context() else '') or
555+
os.getenv('ENVIRONMENT') or
556+
os.getenv('DEPLOYMENT_ENV') or
557+
os.getenv('FLASK_ENV', 'development')
558558
).strip().lower()
559559

560560
if current_env in ('prod', 'production'):

0 commit comments

Comments
 (0)