diff options
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), |