diff --git a/sphinxcontrib/inkscapeconverter.py b/sphinxcontrib/inkscapeconverter.py index 473f066..31f0d42 100644 --- a/sphinxcontrib/inkscapeconverter.py +++ b/sphinxcontrib/inkscapeconverter.py @@ -17,7 +17,7 @@ from sphinx.locale import __ from sphinx.transforms.post_transforms.images import ImageConverter from sphinx.util import logging -from sphinx.util.osutil import ENOENT, EPIPE, EINVAL +from errno import ENOENT, EPIPE, EINVAL if False: # For type annotation diff --git a/sphinxcontrib/rsvgconverter.py b/sphinxcontrib/rsvgconverter.py index 6f70172..f15be14 100644 --- a/sphinxcontrib/rsvgconverter.py +++ b/sphinxcontrib/rsvgconverter.py @@ -16,7 +16,7 @@ from sphinx.locale import __ from sphinx.transforms.post_transforms.images import ImageConverter from sphinx.util import logging -from sphinx.util.osutil import ENOENT, EPIPE, EINVAL +from errno import ENOENT, EPIPE, EINVAL if False: # For type annotation