change to python3 explicitly.

This commit is contained in:
Shuduo Sang 2020-12-01 17:50:09 +08:00
parent 2558e74bc6
commit 773101a247
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
###################################################################
# Copyright (c) 2016 by TAOS Technologies, Inc.
# All rights reserved.
@ -55,6 +55,7 @@ def isHiveMQInstalled():
defaultHiveMQPath = "/opt/hivemq*"
hiveMQDir = glob.glob(defaultHiveMQPath)
if (len(hiveMQDir) == 0):
v_print("%s", "ERROR: hivemq not found!")
return False
else:
v_print("HiveMQ installed at %s", hiveMQDir[0])