Revert "no more xx imports in tools"

This reverts commit 1f9485171e.
This commit is contained in:
Andy Haden
2020-02-25 11:36:02 -08:00
parent 1f9485171e
commit 4a94e507cf
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -11,7 +11,10 @@ import capnp
import numpy as np
from tools.lib.exceptions import DataUnreadableError
from tools.lib.filereader import FileReader
try:
from xx.chffr.lib.filereader import FileReader
except ImportError:
from tools.lib.filereader import FileReader
from cereal import log as capnp_log
OP_PATH = os.path.dirname(os.path.dirname(capnp_log.__file__))