corrected slide nums in zip file
This commit is contained in:
parent
eb8440f34c
commit
36e7ff478a
2
app.py
2
app.py
@ -90,7 +90,7 @@ def index():
|
||||
|
||||
# You can now send png_bytes to a response or store it in a DB
|
||||
print(f"Page {page_index} is {len(png_bytes)} bytes.")
|
||||
zf.writestr("{}/{}{:04d}.png".format(filenameref, filenameref, page_index), png_bytes)
|
||||
zf.writestr("{}/{}-slide-number-{:02d}.png".format(filenameref, filenameref, page_index), png_bytes)
|
||||
|
||||
doc.close()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user