Fix regex according to Regex101

This commit is contained in:
Jakob Moser 2025-06-01 12:52:41 +02:00
parent fb031fcaf6
commit 4ccccf8667
Signed by: jakob
GPG Key ID: 3EF2BA2851B3F53C

View File

@ -5,7 +5,7 @@ from pathlib import Path
from karaokatalog.instructions.MoveInstruction import MoveInstruction
from karaokatalog.Song import Song
FORBIDDEN_CHARACTERS = re.compile(r'[/<>:"\\|?*]')
FORBIDDEN_CHARACTERS = re.compile(r'[\/<>:"\\|?*]')
def _get_canonical_song_dir(song: Song, variant: int = 0) -> Path: