Skip to content

Commit 2481b6a

Browse files
committed
Updates based on review
1 parent 68444a4 commit 2481b6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cetmix_tower_yaml/wizards/cx_tower_yaml_import_wiz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def _compute_yaml_data(self):
125125
def _get_import_model(self, model_name, model_cache):
126126
"""Return cached model configured for YAML import."""
127127
model = model_cache.get(model_name)
128-
if not model:
128+
if model is None:
129129
model = self.env[f"cx.tower.{model_name.replace('_', '.')}"].with_context(
130130
skip_ssh_settings_check=(model_name == "server")
131131
)

0 commit comments

Comments
 (0)