fix flake 8

This commit is contained in:
Kenneth Kehl
2024-08-02 08:33:45 -07:00
parent a3ddb35fe7
commit 2917c73be7

View File

@@ -80,9 +80,9 @@ class ResponseHeaderMiddleware(object):
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