/usr/scripts sans / final

This commit is contained in:
Daniel STAN 2015-07-23 17:25:11 +02:00
parent f4318415e8
commit 5b66ae0095
4 changed files with 7 additions and 10 deletions

View file

@ -15,7 +15,7 @@ try:
from gestion import secrets_new as secrets
except ImportError:
sys.stderr.write("lc_ldap shortcuts: shaa, cannot import secrets_new. " +
"try again with /usr/scripts/ in PYTHONPATH " +
"try again with /usr/scripts in PYTHONPATH " +
"(argv: %s)\n" % " ".join(getattr(sys, 'argv', [])))
sys.path.append("/usr/scripts")
from gestion import secrets_new as secrets