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

Commit b7c885d

Browse files
committed
Fix python version check for robobrowser issue
1 parent 7f01ad3 commit b7c885d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dagr/dagr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def set_browser(self):
118118
except ImportError:
119119
parser = "html.parser"
120120
# Workaround robobrowser bug https://github.com/jmcarp/robobrowser/issues/87
121-
if sys.version_info>=(3,5):
121+
if sys.version_info>=(3,7):
122122
re._pattern_type = re.Pattern
123123

124124
self.browser = RoboBrowser(history=False, session=session,

0 commit comments

Comments
 (0)