mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Stop printing dbus errors to the terminal
Even at every 5 minutes, it can be noisy.
This commit is contained in:
parent
809d43fba6
commit
1d8c1f2c6d
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue