diff --git a/wrolpi/common.py b/wrolpi/common.py index 03a4bde6..e4ff7287 100644 --- a/wrolpi/common.py +++ b/wrolpi/common.py @@ -717,7 +717,7 @@ INVALID_FILE_CHARS = re.compile(r'[/<>:\|"\\\?\*%]') def escape_file_name(name: str) -> str: - """Replace any invalid characters in a file name with "_".""" + """Remove any invalid characters in a file name.""" return INVALID_FILE_CHARS.sub('', name)