Browse Source

invert

master
friend 2 years ago
parent
commit
5fcf3fc111
  1. 2
      pdf-compile.py

2
pdf-compile.py

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

Loading…
Cancel
Save