|
@ -60,7 +60,7 @@ for chapter in chapters: |
|
|
os.makedirs(localhost+name) |
|
|
os.makedirs(localhost+name) |
|
|
pdffile=name+'.pdf' |
|
|
pdffile=name+'.pdf' |
|
|
|
|
|
|
|
|
if len(sys.argv)>1 and sys.argv[1]=='local': |
|
|
if len(sys.argv)<2 or sys.argv[1]=='nonlocal': |
|
|
|
|
|
|
|
|
if('octomode.vvvvvvaria.org' in chapter): |
|
|
if('octomode.vvvvvvaria.org' in chapter): |
|
|
preview = requests.get(chapter.replace('pad/','preview.html'), auth=authvvvvvv) |
|
|
preview = requests.get(chapter.replace('pad/','preview.html'), auth=authvvvvvv) |
|
|