Skip to content

Commit

Permalink
Fix issue with empty project variable name. Fixes #3162
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed May 10, 2021
1 parent ece4d51 commit 262a283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gns3/dialogs/edit_project_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit 262a283

Please sign in to comment.