diff --git a/gns3/dialogs/edit_project_dialog.py b/gns3/dialogs/edit_project_dialog.py index e6632e346..2ea25404c 100644 --- a/gns3/dialogs/edit_project_dialog.py +++ b/gns3/dialogs/edit_project_dialog.py @@ -98,7 +98,7 @@ def onValueChange(self, variable, text): variable["value"] = text def _cleanVariables(self): - return [v for v in self._variables if v.get("name", "").strip() != ""] + return [v for v in self._variables if v.get("name").strip() != ""] def done(self, result): """