Update engine.py
This commit is contained in:
parent
8dfc72591a
commit
b17a26b508
@ -755,9 +755,9 @@ class CtaEngine(BaseEngine):
|
|||||||
if filename.endswith(".py"):
|
if filename.endswith(".py"):
|
||||||
strategy_module_name = ".".join(
|
strategy_module_name = ".".join(
|
||||||
[module_name, filename.replace(".py", "")])
|
[module_name, filename.replace(".py", "")])
|
||||||
elif filename.endswith(".pyd"):
|
elif filename.endswith(".cp37-win_amd64.pyd"):
|
||||||
strategy_module_name = ".".join(
|
strategy_module_name = ".".join(
|
||||||
[module_name, filename.replace(".pyd", "")])
|
[module_name, filename.replace(".cp37-win_amd64.pyd", "")])
|
||||||
|
|
||||||
self.load_strategy_class_from_module(strategy_module_name)
|
self.load_strategy_class_from_module(strategy_module_name)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user