diff -r 06fc14211ba9 -r 91421eeb4426 ui.py --- a/ui.py Sun Jan 21 14:34:35 2018 +0000 +++ b/ui.py Sun Jan 21 14:56:56 2018 +0000 @@ -7,7 +7,7 @@ import datetime import logging from threading import Lock, Timer -from config import settings +from config import settings, appname_stylised import objc logger=logging.getLogger(__name__) @@ -106,7 +106,7 @@ class BorgendTray(rumps.App): - def __init__(self, name, backups): + def __init__(self, backups): self.lock=Lock() self.backups=backups self.statuses=[None]*len(backups) @@ -180,7 +180,8 @@ logger.debug("Opening notification for error %s '%s'", msgid, errorlog['message']) - notification_workaround('Borgend', msgid, errorlog['message']) + notification_workaround(appname_stylised, + msgid, errorlog['message']) def my_quit(self, _): rumps.quit_application() @@ -193,7 +194,8 @@ except Exception as err: logger.debug("Opening notification for exception %s '%s'", err.__class__.__name__, str(err)) - notification_workaround('Borgend', err.__class__.__name__, str(err)) + notification_workaround(appname_stylised, + err.__class__.__name__, str(err)) @rumps.notifications def notification_center(data):