mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 09:56:17 +03:00
Simplified code
This commit is contained in:
parent
6944e9e183
commit
76e5e12f98
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user