Commit 4db4607e by danxshap

use home path expansion for virtualenv param in django_manage module

parent 4d1f4479
...@@ -131,7 +131,7 @@ def _ensure_virtualenv(module): ...@@ -131,7 +131,7 @@ def _ensure_virtualenv(module):
virtualenv = module.get_bin_path('virtualenv', True) virtualenv = module.get_bin_path('virtualenv', True)
vbin = os.path.join(venv_param, 'bin') vbin = os.path.join(os.path.expanduser(venv_param), 'bin')
activate = os.path.join(vbin, 'activate') activate = os.path.join(vbin, 'activate')
if not os.path.exists(activate): if not os.path.exists(activate):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment