pagesssss

This commit is contained in:
friend 2022-12-14 01:10:08 +01:00
parent c88a704840
commit 4da5373d16

View File

@ -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: