pagesssss
This commit is contained in:
parent
c88a704840
commit
4da5373d16
@ -100,7 +100,7 @@ for chapter in chapters:
|
|||||||
style = requests.get(chapter.replace('pad/','stylesheet.css'))
|
style = requests.get(chapter.replace('pad/','stylesheet.css'))
|
||||||
|
|
||||||
if page > 0:
|
if page > 0:
|
||||||
style+='@page:first { counter-increment: page '+page+'; }'
|
style+='@page:first { counter-increment: page '+str(page)+'; }'
|
||||||
|
|
||||||
stylefile=localhost+'.'+name+'/stylesheet.css'
|
stylefile=localhost+'.'+name+'/stylesheet.css'
|
||||||
with open(stylefile, 'w') as file:
|
with open(stylefile, 'w') as file:
|
||||||
|
Loading…
Reference in New Issue
Block a user