Skip to content

Commit

Permalink
make text build python3 compatible sphinx-contrib#8
Browse files Browse the repository at this point in the history
  • Loading branch information
TimKam committed Oct 3, 2016
1 parent d50701d commit 1222429
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
setuptools.setup(
name='sphinxprettysearchresults',
packages=['sphinxprettysearchresults'],
version='0.1.6',
version='0.1.7',
description='Decently styled search results for sphinx-doc projects',
author='Timotheus Kampik',
author_email='[email protected]',
Expand Down
4 changes: 2 additions & 2 deletions sphinxprettysearchresults/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@


def clean_txts(language, srcdir, outdir):
if isinstance(outdir, unicode):
if not isinstance(outdir, str) and isinstance(outdir, unicode):
outdir = outdir.encode('UTF-8')

if isinstance(srcdir, unicode):
if not isinstance(srcdir, str) and isinstance(srcdir, unicode):
srcdir = srcdir.encode('UTF-8')

sources_path = outdir + '/_sources'
Expand Down

0 comments on commit 1222429

Please sign in to comment.