From 8fbcb94182a3fce870ddb62bf74f7af1fc65b130 Mon Sep 17 00:00:00 2001 From: Rinaldus Date: Thu, 16 Nov 2017 16:22:58 +0300 Subject: [PATCH] Revert "Fixed program crash if OS doesn't support baloon notification" This reverts commit c025371c1b2daae86b8b32bc9ca3bf2c07fb43c5. --- mail-notifier.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/mail-notifier.py b/mail-notifier.py index d1dd7b6..5089962 100755 --- a/mail-notifier.py +++ b/mail-notifier.py @@ -440,14 +440,10 @@ def mail_check(): # check was successfull, lastCheckCount is updating window.lastCheckCount = mail_count def notify(message): - try: - if settings.value("Notify"): - n = notify2.Notification(programTitle, message) - n.show() - return - except: - print(message) - pass + if settings.value("Notify"): + n = notify2.Notification(programTitle, message) + n.show() + return