Fix error with exports
This commit is contained in:
parent
3fbdadf705
commit
cd8c1fc4b0
1
app/data_export.json
Normal file
1
app/data_export.json
Normal file
@ -0,0 +1 @@
|
||||
{"twitter": [{"username": "aantonop"}, {"username": "Trezor"}, {"username": "aitor13023985"}, {"username": "guaridadelzorro"}, {"username": "elonmusk"}, {"username": "bitcoin"}, {"username": "monero"}, {"username": "xmroutreach"}, {"username": "Locha_io"}, {"username": "randybrito"}, {"username": "btcven"}, {"username": "Snowden"}, {"username": "_prestwich"}, {"username": "TradeOnFire"}], "youtube": [{"channelId": "UCjr2bPAyPV7t35MvcgT3W8Q"}, {"channelId": "UCJWCJCWOxBYSi5DhCieLOLQ"}, {"channelId": "UCW3iqZr2cQFYKdO9Kpa97Yw"}, {"channelId": "UCLXo7UDZvByw2ixzpQCufnA"}, {"channelId": "UCR9sFzaG9Ia_kXJhfxtFMBA"}, {"channelId": "UCbdSYaPD-lr1kW27UJuk8Pw"}, {"channelId": "UCa3DVlGH2_QhvwuWlPa6MDQ"}, {"channelId": "UComoqWnjQlH7JpvqfyGnWNA"}, {"channelId": "UCA58hhLv4pdgDjBW5oNSklA"}]}
|
@ -72,7 +72,7 @@ def settings():
|
||||
def export():
|
||||
a = exportData()
|
||||
if a:
|
||||
return send_from_directory('data_export.json', as_attachment=True)
|
||||
return send_from_directory('.', 'data_export.json', as_attachment=True)
|
||||
else:
|
||||
return redirect(url_for('/error/405'))
|
||||
|
||||
|
Reference in New Issue
Block a user