mirror of https://github.com/MISP/misp-modules
- fixed typo move image back in scope
parent
59b7688bdc
commit
7885017981
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue