From ee7e25560a4990d35670a65e38823ffdbe106155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Pedersen?= Date: Fri, 21 Jun 2024 13:43:34 +0200 Subject: [PATCH] Handle edge case better --- demo/src/gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/src/gui.py b/demo/src/gui.py index 6953110..a89c87f 100644 --- a/demo/src/gui.py +++ b/demo/src/gui.py @@ -105,7 +105,7 @@ def process(self, mesh_file_name): return "./prediction.obj" def download_prediction(self): - if ( self.filename is None) or (not self.extension is None): + if (self.filename is None) or (self.extension is None): LOGGER.error( "The prediction is not available or ready to download. Wait until the result is available in the 3D viewer." )