Fix error page call

This commit is contained in:
pluja 2020-07-27 17:45:14 +02:00
parent cd8c1fc4b0
commit 9f4cf189c7

View File

@ -74,7 +74,7 @@ def export():
if a: if a:
return send_from_directory('.', 'data_export.json', as_attachment=True) return send_from_directory('.', 'data_export.json', as_attachment=True)
else: else:
return redirect(url_for('/error/405')) return redirect(url_for('error/405'))
def exportData(): def exportData():
twitterFollowing = current_user.following_list() twitterFollowing = current_user.following_list()