diff --git a/lib/controller.py b/lib/controller.py index d3c5ae4..4af5102 100644 --- a/lib/controller.py +++ b/lib/controller.py @@ -1,4 +1,5 @@ import os +from tkinter import messagebox from manage_configs import SivasAssemblyData from get_teilestamm import FetchSivasTeilestamm @@ -197,10 +198,10 @@ class Controller(Observer): pass def message_info(self, title, key, questions='ok'): - return tkinter.messageBox.showinfo(title, message[key]) + return messagebox.showinfo(title, messages[key]) - def message_error(self, title, key, type='error'): - pass + def message_error(self, title, key): + return messagebox.showerror(title, messages[key]) def callback(self, key, value): if not self._model: