fix python search
This commit is contained in:
parent
22d2e2ed01
commit
3b7cc3d477
|
|
@ -162,7 +162,7 @@ class XdbSearcher(object):
|
|||
return 0
|
||||
|
||||
def getInt2(self, b, offset):
|
||||
return ((b[offset] & 0x000000FF) | (b[offset+1] & 0x0000FF00))
|
||||
return ((b[offset] & 0x000000FF) | (b[offset+1] << 8))
|
||||
|
||||
def close(self):
|
||||
if self.__f is not None:
|
||||
|
|
|
|||
Loading…
Reference in New Issue