Skip to content

Commit

Permalink
Convert options to simple namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
madig committed May 21, 2024
1 parent 10381dd commit b072905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/ufo2ft/featureWriters/kernFeatureWriter2.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def getKerningPairs(font, side1Classes, side2Classes, glyphSet=None, options=Non
side1ClassesRaw,
side2ClassesRaw,
glyphSet or {},
options or KernFeatureWriter.options,
options or SimpleNamespace(**KernFeatureWriter.options),
)
return [KerningPair(pair.side1, pair.side2, pair.value) for pair in pairs]

Expand Down

0 comments on commit b072905

Please sign in to comment.