Skip to content

Commit

Permalink
fix flake 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Kehl committed Aug 2, 2024
1 parent a3ddb35 commit 2917c73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notifications_utils/request_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def rewrite_response_headers(status, headers, exc_info=None):

return self._app(environ, rewrite_response_headers)
except BaseException as be: # noqa
if "AuthError" in str(be): #notify-api-1135
if "AuthError" in str(be): # notify-api-1135
current_app.logger.error(be)
elif "AttributeError" in str(be): #notify-api-1394
elif "AttributeError" in str(be): # notify-api-1394
current_app.logger.error(be)
else:
raise be
Expand Down

0 comments on commit 2917c73

Please sign in to comment.