Fix regex according to Regex101
This commit is contained in:
parent
fb031fcaf6
commit
4ccccf8667
@ -5,7 +5,7 @@ from pathlib import Path
|
|||||||
from karaokatalog.instructions.MoveInstruction import MoveInstruction
|
from karaokatalog.instructions.MoveInstruction import MoveInstruction
|
||||||
from karaokatalog.Song import Song
|
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:
|
def _get_canonical_song_dir(song: Song, variant: int = 0) -> Path:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user