diff --git a/delojza.py b/delojza.py index 8b0366c..507dc1a 100755 --- a/delojza.py +++ b/delojza.py @@ -96,7 +96,7 @@ class DelojzaBot: def sanitize(filepath): if filepath is None: return None - return re.sub(r'[^\w.-]', '_', filepath) + return re.sub(r'[^\w.()\[\]{}#-]', '_', filepath) def tag_file(self, filepath, message, info=None): if info is None: