- fixed typo move image back in scope

pull/199/head
Steve Clement 2018-06-28 16:59:03 +08:00
parent 59b7688bdc
commit 7885017981
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ def handler(q=False):
pages=len(pdf.sequence)
img = WImage(width=pdf.width, height=pdf.height * pages)
for p in range(pages):
img.composite(pdf.sequence[p], top=pdf.height * i, left=0)
image = document
img.composite(pdf.sequence[p], top=pdf.height * p, left=0)
image = document
image_file = BytesIO(image)
image_file.seek(0)