removed print statements

This commit is contained in:
Wanich Keatkajonjumroen 2023-09-02 05:04:59 +09:00
parent eaf9e0cf09
commit 1f545aed41

View File

@ -1003,16 +1003,13 @@ class OngekiBase:
Added in Bright Added in Bright
""" """
rivals = [] rivals = []
print(data)
for rival in data["userRivalList"]: for rival in data["userRivalList"]:
name = self.data.profile.get_profile_name( name = self.data.profile.get_profile_name(
rival["rivalUserId"], self.version rival["rivalUserId"], self.version
) )
if name is None: if name is None:
continue continue
print(name)
rivals.append({"rivalUserId": rival["rivalUserId"], "rivalUserName": name}) rivals.append({"rivalUserId": rival["rivalUserId"], "rivalUserName": name})
print(rivals)
return { return {
"userId": data["userId"], "userId": data["userId"],
"length": len(rivals), "length": len(rivals),