Verified Commit 4ccccf86 authored by Jakob Moser's avatar Jakob Moser
Browse files

Fix regex according to Regex101

parent fb031fca
Loading
Loading
Loading
Loading
+1 −1
Changes for karaokatalog/organize/move.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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: