Update Lib/fontTools/misc/plistlib/__init__.py
Co-authored-by: Cosimo Lupo <cosimo@anthrotype.com>
This commit is contained in:
parent
4efc06e62f
commit
a1df979335
@ -374,7 +374,7 @@ def _dict_element(d: Mapping[str, PlistEncodable], ctx: SimpleNamespace) -> etre
|
||||
return el
|
||||
|
||||
|
||||
def _array_element(array: Sequence[Any], ctx: SimpleNamespace) -> etree.Element:
|
||||
def _array_element(array: Sequence[PlistEncodable], ctx: SimpleNamespace) -> etree.Element:
|
||||
el = etree.Element("array")
|
||||
if len(array) == 0:
|
||||
return el
|
||||
|
Loading…
x
Reference in New Issue
Block a user