Kaynağa Gözat

[Debug] Add more information

Foppe Hemminga 5 yıl önce
ebeveyn
işleme
71907f172a
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      cron.py

+ 2 - 2
cron.py

@@ -108,9 +108,9 @@ def cron():
             if not player_json:
                 continue
             if 'error' in player_json:
-                print(f"{player['maintainer']}")
+                print(f"{player['maintainer']} -> {player['player']}")
                 pprint(player_json)
-                _send(player['maintainer'], f'Maintainer: {player["maintainer"]}, Player: {player} ```{pformat(player_json)}```')
+                _send(player['maintainer'], f'Maintainer: {player["maintainer"]}, Player: {player['player']} ```{pformat(player_json)}```')
                 break
 
             # Check for changes