Skip to content

Commit

Permalink
fix sys.path for the buildout case
Browse files Browse the repository at this point in the history
  • Loading branch information
tschorr committed Oct 2, 2018
1 parent a56589a commit 218b4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zope2/utilities/zconsole.py
Expand Up @@ -24,7 +24,7 @@ def debug(zopeconf):


def debug_console(zopeconf):
cmd = '{} -i -c "from Zope2.utilities.zconsole import debug; app = debug(\\\"{}\\\")"'.format(sys.executable, zopeconf) # noqa: E501
cmd = '{} -i -c "import sys; sys.path={}; from Zope2.utilities.zconsole import debug; app = debug(\\\"{}\\\")"'.format(sys.executable, sys.path, zopeconf) # noqa: E501
os.system(cmd)


Expand Down

0 comments on commit 218b4d3

Please sign in to comment.