diff --git a/cli/src/core/models.py b/cli/src/core/models.py index 8404add..7d37e26 100644 --- a/cli/src/core/models.py +++ b/cli/src/core/models.py @@ -186,9 +186,9 @@ class ServiceManagerUI(BaseModel): root = self.tree.getroot() ca_include_height = self._get_height_cainclude() - height_to_add = ( - ca_include_height / num_macro_elements * (num_macro_elements + 1) - ) - ca_include_height + height_to_add = int( + (ca_include_height / num_macro_elements * (num_macro_elements + 1)) - ca_include_height + ) # 1. Main window mainwindow = root.find(".//widget[@class='QMainWindow']")