Skip to content

Commit

Permalink
for flask import Request instead of BaseRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
compyman committed Jun 23, 2022
1 parent 4eb8a80 commit 115c17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollbar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
del ImproperlyConfigured

try:
from werkzeug.wrappers import BaseRequest as WerkzeugRequest
from werkzeug.wrappers import Request as WerkzeugRequest
except (ImportError, SyntaxError):
WerkzeugRequest = None

Expand Down

0 comments on commit 115c17b

Please sign in to comment.