diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-09-18 00:37:01 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-09-18 00:37:01 +0200 |
commit | 54e54fe0683991860c9c54f6bd31f01be23cae0e (patch) | |
tree | 09de01c97ead8034b166943f379d08870d9a6c01 /python | |
parent | 51ab750fa5b84edd34d50d898f12aa1d2032950c (diff) | |
download | Puppet-54e54fe0683991860c9c54f6bd31f01be23cae0e.tar.gz Puppet-54e54fe0683991860c9c54f6bd31f01be23cae0e.tar.zst Puppet-54e54fe0683991860c9c54f6bd31f01be23cae0e.zip |
Fix python script ovh path
Diffstat (limited to 'python')
-rw-r--r-- | python/reinstall_vps_server.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/reinstall_vps_server.py b/python/reinstall_vps_server.py index 2eea203..52fdc39 100644 --- a/python/reinstall_vps_server.py +++ b/python/reinstall_vps_server.py | |||
@@ -1,6 +1,10 @@ | |||
1 | # -*- encoding: utf-8 -*- | 1 | # -*- encoding: utf-8 -*- |
2 | import json | 2 | import json |
3 | from ovh import ovh | 3 | try: |
4 | from ovh import ovh | ||
5 | except ImportError: | ||
6 | # In case it's installed globally | ||
7 | import ovh | ||
4 | import sys | 8 | import sys |
5 | import ovh_helper | 9 | import ovh_helper |
6 | 10 | ||