Skip to content

Commit bee4b6c

Browse files
authored
Add files via upload
1 parent 8f29274 commit bee4b6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fmz.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ def __init__(self, task = None, autoRun=False, gApis = None, progressCallback=No
14581458
js = os.path.join(tmpCache, crcFile)
14591459
if os.path.exists(js):
14601460
b = open(js, 'rb').read()
1461-
if os.getenv("BOTVS_TASK_UUID") is None or "cc7f7f0e687fb7317862170955d99a58" in str(b):
1461+
if os.getenv("BOTVS_TASK_UUID") is None or "d5e78db481539016d52bdbadf7adb966" in str(b):
14621462
hdic = json_loads(b)
14631463
loader = os.path.join(tmpCache, soName)
14641464
update = False
@@ -1481,7 +1481,7 @@ def __init__(self, task = None, autoRun=False, gApis = None, progressCallback=No
14811481
print("load from debug mode", loader)
14821482
lib = ctypes.CDLL(os.path.abspath(loader))
14831483
lib.api_backtest.restype = ctypes.c_void_p
1484-
ctx = ctypes.c_void_p(lib.api_backtest(safe_str(json.dumps(task)), self.httpGetPtr, self.progessCallbackPtr))
1484+
ctx = ctypes.c_void_p(lib.api_backtest(safe_str(json.dumps(task)), self.httpGetPtr, self.progessCallbackPtr, None))
14851485
if not ctx:
14861486
raise 'Initialize backtest engine error'
14871487
self.ctx = ctx

0 commit comments

Comments
 (0)