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 87d416f1df
commit a5bf6126bb

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)