1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

fix cbz metadata (#1018)

This commit is contained in:
Alex Xu
2025-07-09 11:14:25 -07:00
committed by GitHub
parent 551fe6edbf
commit 07ef11013a

View File

@@ -87,7 +87,7 @@ class ComicArchive:
for cmd in extraction_commands:
try:
subprocess_run(cmd, capture_output=True, check=True)
return targetdir
return os.path.join(targetdir, os.listdir(targetdir)[0])
except FileNotFoundError:
missing.append(cmd[0])
except CalledProcessError: