mirror of
https://github.com/ciromattia/kcc
synced 2026-07-03 03:25:27 +00:00
Tweaked ComicRack metadata parser
This commit is contained in:
@@ -91,6 +91,8 @@ class CBxArchive:
|
||||
elif self.compressor == '7z':
|
||||
self.extractCB7(targetdir)
|
||||
adir = os.listdir(targetdir)
|
||||
if 'ComicInfo.xml' in adir:
|
||||
adir.remove('ComicInfo.xml')
|
||||
if len(adir) == 1 and os.path.isdir(os.path.join(targetdir, adir[0])):
|
||||
import shutil
|
||||
for f in os.listdir(os.path.join(targetdir, adir[0])):
|
||||
|
||||
Reference in New Issue
Block a user