mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Stop printing dbus errors to the terminal
Even at every 5 minutes, it can be noisy.
This commit is contained in:
parent
87d416f1df
commit
a5bf6126bb
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