Revert "Fixed program crash if OS doesn't support baloon notification"

This reverts commit c025371c1b.
This commit is contained in:
Rinaldus 2017-11-16 16:22:58 +03:00
parent c025371c1b
commit 8fbcb94182
Signed by: Rinaldus
GPG Key ID: C34E249005178E87
1 changed files with 4 additions and 8 deletions

View File

@ -440,14 +440,10 @@ def mail_check():
# check was successfull, lastCheckCount is updating # check was successfull, lastCheckCount is updating
window.lastCheckCount = mail_count window.lastCheckCount = mail_count
def notify(message): def notify(message):
try:
if settings.value("Notify"): if settings.value("Notify"):
n = notify2.Notification(programTitle, message) n = notify2.Notification(programTitle, message)
n.show() n.show()
return return
except:
print(message)
pass