diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2022-01-02 18:02:18 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2022-01-02 18:02:18 +0100 |
commit | b5aa79f0641a0589f2a9e783035db2546561052f (patch) | |
tree | 691d4b247f183a3ce3615792c86a4f36bca22c05 /newspipe/lib | |
parent | various !minor fixes (diff) | |
download | newspipe-b5aa79f0641a0589f2a9e783035db2546561052f.tar.gz newspipe-b5aa79f0641a0589f2a9e783035db2546561052f.tar.bz2 newspipe-b5aa79f0641a0589f2a9e783035db2546561052f.zip |
Resolved some flakes warnings.
Diffstat (limited to 'newspipe/lib')
-rw-r--r-- | newspipe/lib/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newspipe/lib/utils.py b/newspipe/lib/utils.py index 7e6f3cf4..beef75ac 100644 --- a/newspipe/lib/utils.py +++ b/newspipe/lib/utils.py @@ -82,7 +82,7 @@ def clear_string(data): and consecutive white spaces (more that one). """ p = re.compile("<[^>]+>") # HTML tags - q = re.compile("\s") # consecutive white spaces + q = re.compile(r"\s") # consecutive white spaces return p.sub("", q.sub(" ", data)) |