🐛 修复 TETR.IO 大写用户名查询失败

This commit is contained in:
2024-05-15 04:42:27 +08:00
parent 270b953bc9
commit 4ec5c3bde1

View File

@@ -43,7 +43,7 @@ class Player:
if self.user_id is not None:
return self.user_id
if self.user_name is not None:
return self.user_name
return self.user_name.lower()
msg = 'Invalid user'
raise ValueError(msg)