mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-28 11:03:38 +08:00
BLD: Fix import of answer key for compatibility with Python 3.
Python 3 requires explicit relative pathing.
This commit is contained in:
@@ -23,7 +23,7 @@ from zipline.utils import factory
|
||||
|
||||
from zipline.finance.trading import SimulationParameters
|
||||
|
||||
import answer_key
|
||||
from . import answer_key
|
||||
from . answer_key import AnswerKey
|
||||
|
||||
ANSWER_KEY = AnswerKey()
|
||||
|
||||
Reference in New Issue
Block a user