diff --git a/files/routes/users.py b/files/routes/users.py index 27425c7b4..fc5cfcd4e 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -666,7 +666,7 @@ def u_username(username, v=None): if username != u.username: - return redirect(SITE_FULL + request.full_path.replace(username, u.username)) + return redirect(SITE_FULL + request.full_path.replace(username, u.username)[:-1]) if u.reserved: if request.headers.get("Authorization") or request.headers.get("xhr"): return {"error": f"That username is reserved for: {u.reserved}"} diff --git a/files/templates/comments.html b/files/templates/comments.html index 3b5ebcdc5..2c90daeaf 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -264,16 +264,9 @@ {% elif blackjack_status == 'lost' %} Lost {{wager}} Coins. {% elif blackjack_status == 'won' %} - Won {{wager}} Coins. + Won {{wager|int * 2}} Coins. {% elif blackjack_status == 'blackjack' %} - Blackjack! Won {{wager|int + wager|int/1.5}} Coins. - + Blackjack! Won {{(wager|int * 5/2}} Coins. {% endif %} {% endif %}