From 36e7ff478aebcbe9f4fdf22ebbf09a025bf6e44e Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 25 Feb 2026 16:39:41 -0800 Subject: [PATCH] corrected slide nums in zip file --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index c51bfa2..86c87cd 100644 --- a/app.py +++ b/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()