mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 06:17:17 +00:00
Docker compress (#31)
* update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller. * update to Dockerfile to make the build much smaller.
This commit is contained in:
@@ -351,7 +351,7 @@ class ComicBook(models.Model):
|
||||
book.verify_pages()
|
||||
elif archive_type == 'pdf':
|
||||
with atomic():
|
||||
for page_index in range(archive.getNumPages()):
|
||||
for page_index in range(archive.page_count):
|
||||
page = ComicPage(
|
||||
Comic=book, index=page_index, page_file_name=page_index+1, content_type='application/pdf'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user