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)
|
pages=len(pdf.sequence)
|
||||||
img = WImage(width=pdf.width, height=pdf.height * pages)
|
img = WImage(width=pdf.width, height=pdf.height * pages)
|
||||||
for p in range(pages):
|
for p in range(pages):
|
||||||
img.composite(pdf.sequence[p], top=pdf.height * i, left=0)
|
img.composite(pdf.sequence[p], top=pdf.height * p, left=0)
|
||||||
image = document
|
image = document
|
||||||
|
|
||||||
image_file = BytesIO(image)
|
image_file = BytesIO(image)
|
||||||
image_file.seek(0)
|
image_file.seek(0)
|
||||||
|
|
Loading…
Reference in New Issue