Skip to content

Commit

Permalink
Simplified code
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jul 15, 2024
1 parent 6944e9e commit 76e5e12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/_imagingft.c
Original file line number Diff line number Diff line change
Expand Up @@ -1315,8 +1315,7 @@ font_getvaraxes(FontObject *self) {
FT_Done_MM_Var(library, master);
return NULL;
}
PyDict_SetItemString(
list_axis, "name", axis_name ? axis_name : Py_None);
PyDict_SetItemString(list_axis, "name", axis_name);
Py_DECREF(axis_name);
break;
}
Expand Down

0 comments on commit 76e5e12

Please sign in to comment.