From a5bf6126bb60ca7c82d368366cfc6cfd3cef2fb2 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 2 May 2023 17:53:10 +1000 Subject: [PATCH] Stop printing dbus errors to the terminal Even at every 5 minutes, it can be noisy. --- qt/aqt/theme.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qt/aqt/theme.py b/qt/aqt/theme.py index 62e835e0d..00859caaa 100644 --- a/qt/aqt/theme.py +++ b/qt/aqt/theme.py @@ -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)