Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Fix python version check for robobrowser issue
Browse files Browse the repository at this point in the history
  • Loading branch information
voyageur committed Jul 25, 2018
1 parent 7f01ad3 commit b7c885d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dagr/dagr.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def set_browser(self):
except ImportError:
parser = "html.parser"
# Workaround robobrowser bug https://github.com/jmcarp/robobrowser/issues/87
if sys.version_info>=(3,5):
if sys.version_info>=(3,7):
re._pattern_type = re.Pattern

self.browser = RoboBrowser(history=False, session=session,
Expand Down

0 comments on commit b7c885d

Please sign in to comment.