fix ZipPageLoader not working for encrypted cbz archives (#877)
This commit is contained in:
parent
f42a8ea37a
commit
492fa6eaaa
@ -66,7 +66,7 @@ internal class ZipPageLoader(file: File) : PageLoader() {
|
||||
zip.setPassword(CbzCrypto.getDecryptedPasswordCbz())
|
||||
|
||||
zip.fileHeaders.asSequence()
|
||||
.filterNot { !it.isDirectory }
|
||||
.filterNot { it.isDirectory }
|
||||
.forEach { entry ->
|
||||
zip.extractFile(entry, tmpDir.absolutePath)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user