mirror of
https://git.wownero.com/lza_menace/suchwow.git
synced 2024-08-15 01:03:19 +00:00
do not use default address, flash message and redirect back.
This commit is contained in:
parent
8ab985b88e
commit
111c50829d
1 changed files with 2 additions and 1 deletions
|
@ -99,7 +99,8 @@ def create():
|
||||||
wallet = wownero.Wallet()
|
wallet = wownero.Wallet()
|
||||||
account_index = wallet.new_account()
|
account_index = wallet.new_account()
|
||||||
except:
|
except:
|
||||||
account_index = 0
|
flash("Suchwow wallet is fucked up! Try again later.")
|
||||||
|
return redirect(request.url)
|
||||||
post = Post(
|
post = Post(
|
||||||
title=post_title,
|
title=post_title,
|
||||||
text=request.form.get("text", ""),
|
text=request.form.get("text", ""),
|
||||||
|
|
Loading…
Reference in a new issue