Compatibility fix for Python 3.7

This commit is contained in:
Karim shoair
2024-10-14 00:35:15 +03:00
parent 223adfdfdc
commit 227d52a86b
+1 -1
View File
@@ -157,7 +157,7 @@ class _StorageTools:
# return _impl
@cache
@cache(None, typed=True)
def clean_spaces(string):
string = string.replace('\t', ' ')
string = re.sub('[\n|\r]', '', string)