From ee5b3d2b5f210bb1ef7fe0a1ce93a167b638018a Mon Sep 17 00:00:00 2001 From: lasers Date: Sat, 10 Nov 2018 14:06:59 -0600 Subject: [PATCH] external_script: over-engineered notifications (fix) --- py3status/modules/external_script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py3status/modules/external_script.py b/py3status/modules/external_script.py index 53f1c0b006..24377f488a 100644 --- a/py3status/modules/external_script.py +++ b/py3status/modules/external_script.py @@ -196,7 +196,7 @@ def external_script(self): def on_click(self, event): button = event["button"] if button != self.button_refresh: - if self.notification['click']: + if self.notification.get('click'): self._notify_user('click') self.py3.prevent_refresh()