do not use default address, flash message and redirect back.

This commit is contained in:
lza_menace 2021-04-15 10:47:27 -07:00
parent 8ab985b88e
commit 111c50829d

View file

@ -99,7 +99,8 @@ def create():
wallet = wownero.Wallet()
account_index = wallet.new_account()
except:
account_index = 0
flash("Suchwow wallet is fucked up! Try again later.")
return redirect(request.url)
post = Post(
title=post_title,
text=request.form.get("text", ""),