Skip to content

Commit 49a8570

Browse files
lopuhinKebniss
andauthored
if errors=strict just raise
Co-Authored-By: Kebniss <ludovica.gonella@gmail.com>
1 parent 1825943 commit 49a8570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extruct/_extruct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def extract(htmlstring,
6464
'Failed to parse html, raises {}'.format(e))
6565
return {}
6666
if errors == 'strict':
67-
raise e
67+
raise
6868
processors = []
6969
if 'microdata' in syntaxes:
7070
processors.append(

0 commit comments

Comments
 (0)