Skip to content

Commit

Permalink
Ensure 'ZOPE2PATH' is text, not bytes
Browse files Browse the repository at this point in the history
Closes #372.
  • Loading branch information
tseaver committed Oct 11, 2018
1 parent fae058e commit ff6de06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zope2/utilities/mkwsgiinstance.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def get_zope2path(python):
output = subprocess.check_output(
[python, '-c', 'import Zope2; print(Zope2.__file__)'],
stderr=subprocess.PIPE)
zope2file = output.strip()
zope2file = output.strip().decode('utf-8')
except subprocess.CalledProcessError:
# fall back to current Python interpreter
import Zope2
Expand Down

0 comments on commit ff6de06

Please sign in to comment.