@ -60,7 +60,7 @@ for chapter in chapters:
os.makedirs(localhost+name)
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):
preview = requests.get(chapter.replace('pad/','preview.html'), auth=authvvvvvv)