From 62b63dc3e1a91eae333492681b28b9870bf7f45f Mon Sep 17 00:00:00 2001 From: Layerex Date: Wed, 28 Sep 2022 11:16:45 +0300 Subject: [PATCH] Don't disable error notifications with environment variable --- gnome-pass-search-provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnome-pass-search-provider.py b/gnome-pass-search-provider.py index 91db79e..da41802 100755 --- a/gnome-pass-search-provider.py +++ b/gnome-pass-search-provider.py @@ -222,7 +222,7 @@ class SearchPassService(dbus.service.Object): self.notify("Failed to copy password or field!", body=str(e), error=True) def notify(self, message, body="", error=False): - if not self.disable_notifications: + if error or not self.disable_notifications: try: self.session_bus.get_object( "org.freedesktop.Notifications", "/org/freedesktop/Notifications"