Fix NoneType error.
This commit is contained in:
parent
92270735c5
commit
102b7e044a
@ -67,7 +67,9 @@ class SearchPassService(dbus.service.Object):
|
||||
self.password_executable = getenv("PASSWORD_EXECUTABLE") or "pass"
|
||||
self.password_mode = getenv("PASSWORD_MODE") or "pass"
|
||||
self.clipboard_executable = getenv("CLIPBOARD_EXECUTABLE") or "wl-copy"
|
||||
self.disable_notifications = getenv("DISABLE_NOTIFICATIONS").lower() == "true" or False
|
||||
self.disable_notifications = (
|
||||
getenv("DISABLE_NOTIFICATIONS", False).lower() == "true"
|
||||
)
|
||||
|
||||
@dbus.service.method(in_signature="sasu", **sbn)
|
||||
def ActivateResult(self, id, terms, timestamp):
|
||||
|
Loading…
x
Reference in New Issue
Block a user