From e68f820765fe51468be1917adb6ad9eae5da7f6c Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 9 May 2015 22:48:18 +0100 Subject: [PATCH] moved logging to correct place --- GUI.py | 4 +--- game.py | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/GUI.py b/GUI.py index 5ec115b..fb8988c 100644 --- a/GUI.py +++ b/GUI.py @@ -32,14 +32,12 @@ class Main_Window: self.exit_button.pack(ipadx=PADDING_BUTTON/3, ipady=PADDING_BUTTON, padx=PADDING_BUTTON, pady=PADDING_BUTTON) self.exit_button.bind('', self.close) - Style().configure("Menu.TButton", font=("Lucida", 25)) Style().configure("Quit.TButton", font=("Lucida", 15)) - logging.info("GUI Generated.") + logging.debug("GUI Generated.") def play_game(self, event): - logging.info("Game Started.") self.master.withdraw() exit_code = game.initialise(self.master, self.options_window.options) if exit_code != "QUIT": self.title["text"] = exit_messages[code] diff --git a/game.py b/game.py index d0069df..387b97f 100644 --- a/game.py +++ b/game.py @@ -79,7 +79,8 @@ def play(window): PLAYING_GAME = True target_movement_timeout_default = FPS * 0.5 target_movement_timeout = target_movement_timeout_default - + + logging.info("Game Started.") while PLAYING_GAME: window.fill((0,0,0))