소스 검색

[Bugfix] This is Python, not PHP ;)

Foppe Hemminga 5 년 전
부모
커밋
58e5d80408
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cron.py

+ 1 - 1
cron.py

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