forked from MarseyWorld/MarseyWorld
master
parent
dec61b04e2
commit
759bc4e85d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue