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