# HG changeset patch # User Mads Kiilerich # Date 2020-08-13 15:30:09 # Node ID 291f04a7228886cd3a7155fcf558784ee3a4ec0d # Parent 71bdbf12919061332b7753d8973da73ff1399bb3 docs: drop changing cwd in WSGI wrapper script It was introduced in 5a31d387f347 and has never been in the virtualenv version of the WSGI script, which "proves" it really is unnecessary. diff --git a/docs/setup.rst b/docs/setup.rst --- a/docs/setup.rst +++ b/docs/setup.rst @@ -608,11 +608,6 @@ that, you'll need to: .. code-block:: python - import os - - # sometimes it's needed to set the current dir - os.chdir('/srv/kallithea/') - import site site.addsitedir("/srv/kallithea/venv/lib/python3.7/site-packages")