From bee4d38fed3d6e3b6b7422a9ab20a356fda3c639 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 27 Oct 2015 19:29:38 +0100 Subject: * info message at the end of processing --- src/bidding_data_gui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/bidding_data_gui.py') diff --git a/src/bidding_data_gui.py b/src/bidding_data_gui.py index ad1fe59..da7531a 100644 --- a/src/bidding_data_gui.py +++ b/src/bidding_data_gui.py @@ -63,11 +63,14 @@ class BiddingGUI(tk.Frame): % self.__gui_logger.errors()) elif self.__gui_logger.warnings(): self.queue(tkMessageBox.showwarning, - 'Błąd!', + 'Uwaga!', ('Podczas wykonywania programu wystąpiły ' + 'ostrzeżenia w liczbie: %d\n' + 'Sprawdź dziennik logów') % self.__gui_logger.warnings()) + else: + self.queue( + tkMessageBox.showinfo, 'Cudownie!', 'Wszystko wporzo.') except Exception as ex: # JFRBidding errors are logged # (and notified of after entire execution), -- cgit v1.2.3