Skip to content

Commit

Permalink
external_script: over-engineered notifications (fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
lasers committed Nov 10, 2018
1 parent 6db3b07 commit ee5b3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py3status/modules/external_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit ee5b3d2

Please sign in to comment.