Fix error page call
This commit is contained in:
parent
cd8c1fc4b0
commit
9f4cf189c7
@ -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()
|
||||||
|
Reference in New Issue
Block a user