mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 17:39:36 +08:00
BUG: Let logbook figure out how to bind the context manager.
This commit is contained in:
@@ -87,7 +87,7 @@ class AlgorithmSimulator(object):
|
||||
# snapshot time to any log record generated.
|
||||
|
||||
with ExitStack() as stack:
|
||||
stack.enter_context(self.processor.threadbound())
|
||||
stack.enter_context(self.processor)
|
||||
stack.enter_context(ZiplineAPI(self.algo))
|
||||
|
||||
data_frequency = self.sim_params.data_frequency
|
||||
|
||||
Reference in New Issue
Block a user