Commit b8c400be authored by Hilko Bengen's avatar Hilko Bengen

Adjust bencode import statement to work with Python3 import semantics

parent 5e4e6e7f
......@@ -335,7 +335,7 @@ index 0000000..d29ae1c
+ else:
+ fd.write(bencode(data))
diff --git a/plaso/parsers/bencode_parser.py b/plaso/parsers/bencode_parser.py
index 6c933ec..18f977b 100644
index 6c933ec..b71a5d5 100644
--- a/plaso/parsers/bencode_parser.py
+++ b/plaso/parsers/bencode_parser.py
@@ -10,7 +10,7 @@ from __future__ import unicode_literals
......@@ -343,7 +343,7 @@ index 6c933ec..18f977b 100644
import os
-import bencode
+from bencode import bencode
+from plaso.parsers.bencode import bencode
from plaso.lib import errors
from plaso.parsers import interface
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment