This commit is contained in:
friend 2022-11-06 23:48:23 +01:00
parent e03628408b
commit 5fcf3fc111

View File

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