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