Fix notification bug
Correctly handle exception when trying to display notification if dbus-python is not available
This commit is contained in:
@ -250,7 +250,10 @@ class Backup:
|
||||
except NameError:
|
||||
pass
|
||||
else:
|
||||
notify('Backup finished')
|
||||
try:
|
||||
notify('Backup finished')
|
||||
except NameError:
|
||||
pass
|
||||
|
||||
|
||||
def _parse_arguments():
|
||||
|
Reference in New Issue
Block a user