pdf2book.py: todo: zine pages > 16
This commit is contained in:
parent
0a17a41780
commit
8c88fec5d0
@ -202,6 +202,9 @@ def make_zine(reader, lst):
|
||||
lst=get_reorder(number_of_pages, signature_size)
|
||||
if args.zine :
|
||||
if number_of_pages != 16:
|
||||
#TODO: if number of pages%16 != 0 : fill up with blank pages
|
||||
# in loop:
|
||||
# if i > len(pages): insert blank? or terminate orderly
|
||||
print("Error... when using '--zine' the input pdf must have 16 pages!")
|
||||
exit(1)
|
||||
writer=make_zine(reader, lst)
|
||||
|
Loading…
Reference in New Issue
Block a user