Closed tatarize closed 1 year ago
else: s = SVGElement(values) # SVG Unknown object return as element. context.append(s)
Can somehow produce crash:
File "meerk40t\svgelements.py", line 8709, in parse AttributeError: 'NoneType' object has no attribute 'append'
There is apparently some flow which permits context to have the value None.
I've already seen this. Here is a minimal example, which triggers it (a file without top-level "svg" element):
<g></g>
Regards!
And so it does...
fixed in 1.9.0
Can somehow produce crash:
There is apparently some flow which permits context to have the value None.