Skip to content

Commit

Permalink
Fix problem found while investigating #746
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Jan 14, 2022
1 parent 609b176 commit aa12a79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Lib/glyphsLib/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3011,9 +3011,11 @@ def defaultValue(self):
return self.value
if "dflt" in self.localized_values:
return self.localized_values["dflt"]
if "default" in self.localized_values:
return self.localized_values["default"]
if "ENG" in self.localized_values:
return self.localized_values["ENG"]
return self.localized_values.values()[0]
return list(self.localized_values.values())[0]


class GSInstance(GSBase):
Expand Down

0 comments on commit aa12a79

Please sign in to comment.