Skip to content

Commit 40fdaf4

Browse files
committed
improve logging
1 parent e611f8f commit 40fdaf4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

server/rating/management/commands/update_trueskill.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,12 @@ def handle(self, *args, **options):
109109
place = place + 1
110110
else:
111111
print(
112-
"find_player_smart(): found 0 players with name '{0}', old_ids={1}, new_ids={2}, game_count={3}".format(
112+
"find_player_smart(): found 0 players with name '{0}', old_ids={1}, new_ids={2}, "
113+
"last_game_date={3}".format(
113114
player_full_name,
114115
ts_player.get("old_ids"),
115116
ts_player.get("new_ids"),
116-
ts_player["event_game_counts"],
117+
ts_player["last_game_date"],
117118
)
118119
)
119120

0 commit comments

Comments
 (0)