1
Fork 0

removed module not on machine

This commit is contained in:
Jake Howard 2015-05-08 10:23:35 +01:00
parent cb28b4ab4e
commit fd143380b3

3
GUI.py
View file

@ -1,6 +1,5 @@
from tkinter import * from tkinter import *
from tkinter.ttk import * from tkinter.ttk import *
import tkMessageBox
import logging import logging
import game import game
@ -42,7 +41,7 @@ class Main_Window:
logging.info("Game Started.") logging.info("Game Started.")
self.master.withdraw() self.master.withdraw()
exit_code = game.initialise(self.master, None) exit_code = game.initialise(self.master, None)
if exit_code != "QUIT": tkMessageBox.showinfo("You Lose!", exit_messages[code]) if exit_code != "QUIT": self.title["text"] = exit_messages[code]
def show_options(self, event): def show_options(self, event):
self.new_window = Toplevel(self.master) self.new_window = Toplevel(self.master)