Skip to content

Commit

Permalink
fix character escaping resulting in double underscores
Browse files Browse the repository at this point in the history
  • Loading branch information
azuline committed Oct 12, 2023
1 parent f1d43fb commit 37b84e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rose/sanitize.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import re

ILLEGAL_FS_CHARS_REGEX = re.compile(r'[:\?<>\\*\|"\/]')
ILLEGAL_FS_CHARS_REGEX = re.compile(r'[:\?<>\\*\|"\/]+')


def sanitize_filename(x: str) -> str:
Expand Down

0 comments on commit 37b84e9

Please sign in to comment.