From a1a5bfa76eea4b2e5f086ae8a9a723a68b0d6fe5 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sun, 1 Nov 2020 22:38:35 +0100 Subject: replace calls to print by calls to logging Signed-off-by: Olivier Gayot --- swiftstory/GameManager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'swiftstory/GameManager.py') diff --git a/swiftstory/GameManager.py b/swiftstory/GameManager.py index e3b5e78..a7098bc 100644 --- a/swiftstory/GameManager.py +++ b/swiftstory/GameManager.py @@ -1,3 +1,4 @@ +import logging import os from swiftstory.Game import Game @@ -28,7 +29,7 @@ class GameManager: game = games.get(game_name) if game is None: - print('Starting new game') + logging.info("Starting new game: %s (lang: %s)", game_name, lang) game = games[game_name] = Game(white_cards, black_cards) -- cgit v1.2.3