From 810a8026fa5e44908268eec9b14a7a558131fe4f Mon Sep 17 00:00:00 2001 From: Manu Date: Fri, 9 Nov 2018 22:26:22 +0800 Subject: [PATCH] Fix typo when selecting notificaton platform. Fixes #11 --- src/vorta/notifications.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vorta/notifications.py b/src/vorta/notifications.py index 4b3a411f..a9f4957f 100644 --- a/src/vorta/notifications.py +++ b/src/vorta/notifications.py @@ -12,7 +12,9 @@ class VortaNotifications: def pick(cls): if sys.platform == 'darwin': return DarwinNotifications - elif sys.platform == 'linux2': + elif sys.platform == 'linux': + return LinuxNotifications + else: # Save to sqlite as fallback? return LinuxNotifications