small fixes

This commit is contained in:
Yusur 2022-12-16 20:24:49 +01:00
parent 9e8e6e0eec
commit 506fefc1f0
3 changed files with 4 additions and 1 deletions

2
app.py
View file

@ -908,7 +908,7 @@ def exportpages():
while q_list:
query |= q_list.pop(0)
e = Exporter()
e.add_page_list(query)
e.add_page_list(query, include_history='history' in request.form)
return e.export(), {'Content-Type': 'application/json', 'Content-Disposition': 'attachment; ' +
'filename=export-{}.json'.format(datetime.datetime.now().strftime('%Y%m%d-%H%M%S'))}
return render_template('exportpages.html')