From 759bc4e85d8e6b81d7efd94c0a161e38e8ac8e7f Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 5 Sep 2021 11:44:02 +0200 Subject: [PATCH] fd --- files/routes/users.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/files/routes/users.py b/files/routes/users.py index e99ae9ca8..f7bc39167 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -375,6 +375,12 @@ def u_username(username, v=None): u = get_user(username, v=v) + if v and v == u and v.id==1: + first = time.time() + v.refresh_selfset_badges() + second = time.time() + print(second-first) + # check for wrong cases if username != u.username: