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 22, 2024
1 parent ce86961 commit 0d15b13
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 0d15b13

Please sign in to comment.