1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

use home path expansion for virtualenv param in django_manage module

This commit is contained in:
danxshap 2013-08-11 14:02:13 -07:00
parent 4d1f447908
commit 4db4607ee5

View file

@ -131,7 +131,7 @@ def _ensure_virtualenv(module):
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')
if not os.path.exists(activate):