Updates
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
try:
|
||||
import lxml.etree as ET # type: ignore # noqa: F401
|
||||
except ImportError:
|
||||
import xml.etree.ElementTree as ET # type: ignore # noqa: F401
|
||||
@@ -0,0 +1,7 @@
|
||||
# Try to import png library.
|
||||
PngWriter = None
|
||||
|
||||
try:
|
||||
from png import Writer as PngWriter # type: ignore # noqa: F401
|
||||
except ImportError: # pragma: no cover
|
||||
pass
|
||||
Reference in New Issue
Block a user