We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b814db2 commit 0416b18Copy full SHA for 0416b18
user_scanner/gaming/roblox.py
@@ -26,7 +26,8 @@ def validate_roblox(user):
26
return 2
27
28
for entry in search_results["data"]: # iterates through the entries in the search results
29
- if entry["name"] == user: # if a username matches the user
+ # .lower() so casing from the API doesn't matter
30
+ if entry["name"].lower() == user.lower(): # if a username matches the user
31
return 0
32
return 1
33
0 commit comments