perf: 优化 jms 脚本

pull/5747/head
xinwen 2021-03-15 05:15:48 +08:00 committed by 老广
parent ff9e470ce2
commit 068b39d922
1 changed files with 1 additions and 1 deletions

2
jms
View File

@ -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)