Skip to content

Commit 227d52a

Browse files
committed
Compatibility fix for Python 3.7
1 parent 223adfd commit 227d52a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapling/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def _get_element_path(cls, element: html.HtmlElement):
157157
# return _impl
158158

159159

160-
@cache
160+
@cache(None, typed=True)
161161
def clean_spaces(string):
162162
string = string.replace('\t', ' ')
163163
string = re.sub('[\n|\r]', '', string)

0 commit comments

Comments
 (0)