Compatibility fix for Python 3.7
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user