Skip to content

Commit 0608c1c

Browse files
committed
improve validate ms accounts
1 parent 74bab79 commit 0608c1c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

server/player/mahjong_soul/management/commands/validate_ms_online_regs.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ async def process_validate(self, lobby, tournament_id, force=False):
4848
print(res)
4949
not_found_on_server = not_found_on_server + 1
5050

51+
if not res.players:
52+
print("friend_id=%d SearchMultiAccount Error:" % registration_mapping[current_account_id].ms_friend_id)
53+
print(res)
54+
not_found_on_server = not_found_on_server + 1
55+
5156
for player in res.players:
5257
registrant = registration_mapping[player.account_id]
5358
if registrant.ms_nickname == player.nickname:

0 commit comments

Comments
 (0)