diff options
author | emkael <emkael@tlen.pl> | 2015-10-27 19:29:38 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2015-10-27 19:29:38 +0100 |
commit | bee4d38fed3d6e3b6b7422a9ab20a356fda3c639 (patch) | |
tree | ac4528b10395c5f76eeb31631e26f16f411df37c /src/bidding_data_gui.py | |
parent | b7a229b74d02fbfb291d2c32a3a3f134cae26de3 (diff) |
* info message at the end of processing
Diffstat (limited to 'src/bidding_data_gui.py')
-rw-r--r-- | src/bidding_data_gui.py | 5 |
1 files changed, 4 insertions, 1 deletions
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), |