Revert "Fixed program crash if OS doesn't support baloon notification"
This reverts commit c025371c1b
.
This commit is contained in:
parent
c025371c1b
commit
8fbcb94182
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue