From 8849fb2b2b8dc824bd3f17ce1026a04856477a94 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Sun, 4 Mar 2018 18:08:04 -0500 Subject: working division, prints, and metaclasses, but imports broken, still needs work --- python/fileaccessor.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'python/fileaccessor.py') diff --git a/python/fileaccessor.py b/python/fileaccessor.py index 2c1f1d19..5a602b89 100644 --- a/python/fileaccessor.py +++ b/python/fileaccessor.py @@ -21,12 +21,11 @@ import traceback import ctypes -# Binary Ninja components -import _binaryninjacore as core -import log - +# Binary Ninja components -- additional imports belong in the appropriate class +from binaryninja import _binaryninjacore as core class FileAccessor(object): + from binaryninja import log def __init__(self): self._cb = core.BNFileAccessor() self._cb.context = 0 -- cgit v1.3.1