summaryrefslogtreecommitdiff
path: root/sphinx/util/images.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/images.py')
-rw-r--r--sphinx/util/images.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/util/images.py b/sphinx/util/images.py
index d7e5de787..eb47dd5e6 100644
--- a/sphinx/util/images.py
+++ b/sphinx/util/images.py
@@ -34,6 +34,7 @@ except ImportError:
if False:
# For type annotation
from typing import Dict, IO, List, Tuple # NOQA
+ from sphinx.util.typing import unicode # NOQA
mime_suffixes = OrderedDict([
('.gif', 'image/gif'),