Skip to content

Commit

Permalink
Merge pull request #410 from compyman/fix-baserequest-deprecation
Browse files Browse the repository at this point in the history
Fix Werkzeug DeprecationWarning
  • Loading branch information
danielmorell committed Nov 22, 2022
2 parents 3cd8e6d + 115c17b commit f95076d
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 f95076d

Please sign in to comment.