css
This commit is contained in:
parent
60b51ebef4
commit
c364fd126b
1 changed files with 2 additions and 2 deletions
|
@ -66,10 +66,10 @@ def settings_profile_post(v):
|
|||
|
||||
if request.values.get("animatedname", v.animatedname) != v.animatedname:
|
||||
if v.animatedname == False:
|
||||
users1, users2 = leaderboard()
|
||||
users1 = leaderboard()
|
||||
print(users1)
|
||||
print(v)
|
||||
if v not in users1 and v not in users2: return jsonify({"error": "You must be in the leaderboard to apply animated name!"}), 403
|
||||
if v not in users1: return jsonify({"error": "You must be in the top 25 leaderboard to apply animated name!"}), 403
|
||||
updated = True
|
||||
v.animatedname = request.values.get("animatedname", None) == 'true'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue