diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2018-11-06 15:24:03 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2018-11-06 15:24:03 -0500 |
| commit | 9df7c7c621c82e6caa7a09c4273e4feba86277f2 (patch) | |
| tree | 2125a275693a50afbcc2a84c93553f85d0a2be92 /python/binaryview.py | |
| parent | 158bfeb5a3702ff0befc5221966bcfe67dbfeec9 (diff) | |
byte string to fix python 3 loading bndb
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 34b8b3e8..afde3a3c 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -418,7 +418,7 @@ class BinaryViewType(with_metaclass(_BinaryViewTypeMetaclass, object)): :return: returns a BinaryView object for the given filename. :rtype: BinaryView or None """ - sqlite = "SQLite format 3" + sqlite = b"SQLite format 3" if filename.endswith(".bndb"): f = open(filename, 'rb') if f is None or f.read(len(sqlite)) != sqlite: |
