Default in getenv needs to be str not bool.
This commit is contained in:
parent
6dc332843d
commit
2ced9fe955
@ -68,7 +68,7 @@ class SearchPassService(dbus.service.Object):
|
|||||||
self.password_mode = getenv("PASSWORD_MODE") or "pass"
|
self.password_mode = getenv("PASSWORD_MODE") or "pass"
|
||||||
self.clipboard_executable = getenv("CLIPBOARD_EXECUTABLE") or "wl-copy"
|
self.clipboard_executable = getenv("CLIPBOARD_EXECUTABLE") or "wl-copy"
|
||||||
self.disable_notifications = (
|
self.disable_notifications = (
|
||||||
getenv("DISABLE_NOTIFICATIONS", False).lower() == "true"
|
getenv("DISABLE_NOTIFICATIONS", "false").lower() == "true"
|
||||||
)
|
)
|
||||||
|
|
||||||
@dbus.service.method(in_signature="sasu", **sbn)
|
@dbus.service.method(in_signature="sasu", **sbn)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user