fix: identation

This commit is contained in:
Elin Angelov 2023-09-20 15:11:24 +03:00 committed by GitHub
parent 9251217bb3
commit 0c2123cfe4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ class Module(core.module.Module):
self.__states = {"unknown": ["unknown", "critical"], self.__states = {"unknown": ["unknown", "critical"],
"true": ["muted", "warning"], "true": ["muted", "warning"],
"false": ["unmuted"]} "false": ["unmuted"]}
if util.format.asbool(self.parameter("disabled", False)): if util.format.asbool(self.parameter("disabled", False)):
util.cli.execute("dunstctl set-paused true", ignore_errors=True) util.cli.execute("dunstctl set-paused true", ignore_errors=True)
def toggle_state(self, event): def toggle_state(self, event):