Merge pull request #22 from disconnect3d/patch-1

Simplifies _print_hex method
This commit is contained in:
Elias Bachaalany
2023-05-05 22:30:34 -07:00
committed by GitHub
+1 -2
View File
@@ -753,8 +753,7 @@ class IDAPython_displayhook:
storage.append(str(item))
def _print_hex(self, x):
s = hex(x)
return s[0:-1] if s.endswith("L") else s
return hex(x)
def displayhook(self, item):
if item is None or type(item) is bool: