Clean up start-up logging.

Most of this wasn't helpful. What was is now logging instead of print
so it can be configured.
This commit is contained in:
Dan Albert
2020-10-06 22:24:47 -07:00
parent e537396fec
commit 1c4aec83cb
3 changed files with 8 additions and 11 deletions

View File

@@ -1,3 +1,4 @@
import logging
from typing import Dict, List, Optional, Tuple
from PySide2.QtCore import Qt
@@ -74,7 +75,7 @@ class QLiberationMap(QGraphicsView):
def setGame(self, game: Optional[Game]):
self.game = game
print("Reloading Map Canvas")
logging.debug("Reloading Map Canvas")
if self.game is not None:
self.reload_scene()