Skip to content

Commit

Permalink
Update browser.py
Browse files Browse the repository at this point in the history
Werkzeug was upgraded to 1.0.0 and introduced this error:
```ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/local/lib/python3.8/site-packages/werkzeug/__init__.py)```

Suggesting this change which has been tested locally and discussed here:
jmcarp#93
  • Loading branch information
antoni-g authored Sep 10, 2020
1 parent 4284c11 commit b01fe0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions robobrowser/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import re
import requests
from bs4 import BeautifulSoup
import werkzeug
werkzeug.cached_property = werkzeug.utils.cached_property
from werkzeug import cached_property
from requests.packages.urllib3.util.retry import Retry

Expand Down

0 comments on commit b01fe0e

Please sign in to comment.