Stop printing dbus errors to the terminal

Even at every 5 minutes, it can be noisy.
This commit is contained in:
Damien Elmes 2023-05-02 17:53:10 +10:00
parent 809d43fba6
commit 1d8c1f2c6d

View file

@ -410,12 +410,12 @@ def get_linux_dark_mode() -> bool:
)
except FileNotFoundError as e:
# detection strategy failed, missing program
print(e)
# print(e)
continue
except subprocess.CalledProcessError as e:
# detection strategy failed, command returned error
print(e)
# print(e)
continue
return parse_stdout(process.stdout)