修复直达接口的一个bug
This commit is contained in:
parent
49d704f801
commit
cf752b4128
@ -77,11 +77,7 @@ class ShzdGateway(VtGateway):
|
||||
"""连接"""
|
||||
# 载入json文件
|
||||
fileName = self.gatewayName + '_connect.json'
|
||||
#fileName = os.getcwd() + '/shzdGateway/' + fileName
|
||||
from vtFunction import filePath
|
||||
path = filePath()
|
||||
#path = os.path.abspath(os.path.dirname(__file__))
|
||||
print 'path:', path
|
||||
path = os.path.abspath(os.path.dirname(__file__))
|
||||
fileName = os.path.join(path, fileName)
|
||||
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user