Skip to content

Commit

Permalink
fix: handle files containing uppercase suffixes
Browse files Browse the repository at this point in the history
bump to version v0.6.4
  • Loading branch information
NobeKanai committed Apr 15, 2024
1 parent 9d12b4b commit 817ae2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dvtag/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ def get_audio_paths_list(basepath: Path) -> Tuple[List[List[Path]], List[List[Pa
mp3_paths = []
flac_paths = []
for file in files:
if file.name.endswith(".flac"):
if file.suffix.lower() == ".flac":
flac_paths.append(file)
elif file.name.endswith(".mp3"):
elif file.suffix.lower() == ".mp3":
mp3_paths.append(file)

if len(flac_paths):
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = dvtag
version = 0.6.3
version = 0.6.4
author = Nobe Kanai
author_email = nobekanai@gmail.com
description = A tool for tagging your doujin voice library.
Expand Down

0 comments on commit 817ae2d

Please sign in to comment.