/usr/scripts sans / final
This commit is contained in:
parent
f4318415e8
commit
5b66ae0095
4 changed files with 7 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue