diff --git a/sanitize.py b/sanitize.py index bd9aafb..5780661 100644 --- a/sanitize.py +++ b/sanitize.py @@ -36,7 +36,7 @@ def slugify(s, lower=True, spaces=False, only_ascii=False, - space_replacement="-"): + space_replacement="_"): """ Creates a unicode slug for given string with several options. L and N signify letter/number. @@ -133,4 +133,4 @@ def sanitize(title): ok = re.compile(r'[^\\/:*?"<>]') _title = "".join(x if ok.match(x) else "_" for x in _temp) - return _title \ No newline at end of file + return _title