From 4da5373d1603ce1254c692f4d1f3c48973d2b002 Mon Sep 17 00:00:00 2001 From: friend Date: Wed, 14 Dec 2022 01:10:08 +0100 Subject: [PATCH] pagesssss --- pdf-compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf-compile.py b/pdf-compile.py index 63c8b0a..a54f371 100755 --- a/pdf-compile.py +++ b/pdf-compile.py @@ -100,7 +100,7 @@ for chapter in chapters: style = requests.get(chapter.replace('pad/','stylesheet.css')) if page > 0: - style+='@page:first { counter-increment: page '+page+'; }' + style+='@page:first { counter-increment: page '+str(page)+'; }' stylefile=localhost+'.'+name+'/stylesheet.css' with open(stylefile, 'w') as file: