diff --git a/suchwow/routes/post.py b/suchwow/routes/post.py index 70888c2..3a2de0b 100644 --- a/suchwow/routes/post.py +++ b/suchwow/routes/post.py @@ -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", ""),