mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-24 14:02:01 +00:00
perf: 优化 jms 脚本
This commit is contained in:
parent
ff9e470ce2
commit
068b39d922
2
jms
2
jms
@ -28,7 +28,7 @@ try:
|
|||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
print("Not found __version__: {}".format(e))
|
print("Not found __version__: {}".format(e))
|
||||||
print("Python is: ")
|
print("Python is: ")
|
||||||
logging.info(subprocess.call('which python', shell=True))
|
logging.info(sys.executable)
|
||||||
__version__ = 'Unknown'
|
__version__ = 'Unknown'
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user