forked from Ethanscharlie/Happy-Ripper
Fixed the / in title bug
This commit is contained in:
+2
-2
@@ -200,9 +200,9 @@ def sort_into_music(path: str, info: ReleaseInfo) -> set[str]:
|
||||
raise RipError("Artist tag was None")
|
||||
|
||||
artist = artist_list[0]
|
||||
re.sub(r"[^\w_. -]", "_", artist)
|
||||
artist = re.sub(r"[^\w_. -]", "_", artist)
|
||||
title = info.title
|
||||
re.sub(r"[^\w_. -]", "_", title)
|
||||
title = re.sub(r"[^\w_. -]", "_", title)
|
||||
|
||||
artist_path = os.path.join(MUSIC_FOLDER, artist)
|
||||
release_path = os.path.join(MUSIC_FOLDER, artist, title)
|
||||
|
||||
Reference in New Issue
Block a user