diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-11-01 22:38:35 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-11-01 22:38:41 +0100 |
commit | a1a5bfa76eea4b2e5f086ae8a9a723a68b0d6fe5 (patch) | |
tree | 3882ada34147e2fdcd2bda1009edc237f9d2a3b4 /swiftstory/GameManager.py | |
parent | fc2c01888755d398f1bce1d0fbfa1ee822acfef1 (diff) |
replace calls to print by calls to logging
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'swiftstory/GameManager.py')
-rw-r--r-- | swiftstory/GameManager.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |