From 9ecb9b8c9a1de31ef175ba32eef79234f3092f8f Mon Sep 17 00:00:00 2001 From: csd4ni3l Date: Fri, 15 Aug 2025 16:04:19 +0200 Subject: [PATCH] Add now arg to fix time.time issue to profile parameters in your own account as well --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 72f5018..c7f5bb7 100644 --- a/main.py +++ b/main.py @@ -272,7 +272,7 @@ def profile(): grass_touching_count, last_grass_touch_time = row - return render_template("profile.jinja2", username=username, grass_touching_count=grass_touching_count, last_grass_touch_time=last_grass_touch_time, your_account=True) + return render_template("profile.jinja2", username=username, grass_touching_count=grass_touching_count, last_grass_touch_time=last_grass_touch_time, now=time.time(), your_account=True) @app.route("/profile/") def public_profile(username):