summaryrefslogtreecommitdiff
path: root/sphinx/builders/epub3.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/builders/epub3.py')
-rw-r--r--sphinx/builders/epub3.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/sphinx/builders/epub3.py b/sphinx/builders/epub3.py
index c1e6ab98a..8e3028bf5 100644
--- a/sphinx/builders/epub3.py
+++ b/sphinx/builders/epub3.py
@@ -13,8 +13,6 @@
from collections import namedtuple
from os import path
-from six import string_types
-
from sphinx import package_dir
from sphinx.builders import _epub_base
from sphinx.config import string_classes, ENUM
@@ -234,7 +232,7 @@ def convert_epub_css_files(app, config):
"""This converts string styled epub_css_files to tuple styled one."""
epub_css_files = [] # type: List[Tuple[unicode, Dict]]
for entry in config.epub_css_files:
- if isinstance(entry, string_types):
+ if isinstance(entry, str):
epub_css_files.append((entry, {}))
else:
try: