mirror of
https://github.com/ciromattia/kcc
synced 2025-12-21 13:41:44 +00:00
nested archives are not supported
This commit is contained in:
@@ -982,6 +982,9 @@ def removeNonImages(filetree):
|
||||
if not files and not dirs:
|
||||
os.rmdir(root)
|
||||
|
||||
if not os.listdir(Path(filetree).parent):
|
||||
raise UserWarning('No images detected, nested archives are not supported.')
|
||||
|
||||
|
||||
def sanitizeTree(filetree):
|
||||
chapterNames = {}
|
||||
|
||||
Reference in New Issue
Block a user