diff --git a/bandcamp_dl/utils/unicode_slugify.py b/bandcamp_dl/utils/unicode_slugify.py index a0307f3..69d31a7 100644 --- a/bandcamp_dl/utils/unicode_slugify.py +++ b/bandcamp_dl/utils/unicode_slugify.py @@ -81,7 +81,7 @@ def slugify(s, ok=SLUG_OK, lower=True, spaces=False, only_ascii=False, space_rep if not spaces: if space_replacement and space_replacement not in ok: space_replacement = ok[0] if ok else '' - new = re.sub('[%s\s]+' % space_replacement, space_replacement, new) + new = re.sub(r'[%s\s]+' % space_replacement, space_replacement, new) if lower: new = new.lower()