[Mod]ctpGateway的Python3兼容性修改
This commit is contained in:
parent
cd1d939c58
commit
8e4f9121a1
@ -108,7 +108,7 @@ class CtpGateway(VtGateway):
|
|||||||
def connect(self):
|
def connect(self):
|
||||||
"""连接"""
|
"""连接"""
|
||||||
try:
|
try:
|
||||||
f = file(self.filePath)
|
f = open(self.filePath)
|
||||||
except IOError:
|
except IOError:
|
||||||
log = VtLogData()
|
log = VtLogData()
|
||||||
log.gatewayName = self.gatewayName
|
log.gatewayName = self.gatewayName
|
||||||
|
Loading…
Reference in New Issue
Block a user