From 9d5761069343dad063a98dae4d346c47cc7a8975 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Wed, 2 Apr 2025 15:04:24 +0300 Subject: [PATCH] IMPROVE_ME: Handle the case where Docker is not installed This looks like a regression, and we need to find a better way to handle it, or add a unit test. --- dangerzone/gui/main_window.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dangerzone/gui/main_window.py b/dangerzone/gui/main_window.py index 38b871f..0f9b79c 100644 --- a/dangerzone/gui/main_window.py +++ b/dangerzone/gui/main_window.py @@ -228,7 +228,9 @@ class MainWindow(QtWidgets.QMainWindow): if not is_version_valid: self.handle_docker_desktop_version_check(is_version_valid, version) except errors.UnsupportedContainerRuntime as e: - pass # It's catched later in the flow. + pass # It's caught later in the flow. + except errors.NoContainerTechException as e: + pass # It's caught later in the flow. self.show()