From a252beb1dba3b2fcb1560a0b1c83e4ffb61cb064 Mon Sep 17 00:00:00 2001 From: Mario Baranzini Date: Tue, 17 Jul 2018 15:58:03 +0200 Subject: [PATCH] Change DesktopNotification arguments (#657) Change `DesktopNotification` arguments to named arguments because `DesktopNotification` constructor uses `**kwarg` and requires named arguments. --- i3pystatus/pomodoro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3pystatus/pomodoro.py b/i3pystatus/pomodoro.py index 6ea0692..c6052e7 100644 --- a/i3pystatus/pomodoro.py +++ b/i3pystatus/pomodoro.py @@ -101,7 +101,7 @@ class Pomodoro(IntervalModule): self.time = None def _alarm(self, text): - notification = DesktopNotification('Alarm!', text) + notification = DesktopNotification(title='Alarm!', body=text) notification.display() subprocess.Popen(['aplay',