From e8b37b23c67fc05e3bf91f85c8dab16828fe95cc Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Sat, 6 Jun 2020 15:43:37 -0400 Subject: fix handle reference in type with_confidence call, resolves #1731 --- python/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/types.py b/python/types.py index b0faf9ed..046a9d58 100644 --- a/python/types.py +++ b/python/types.py @@ -875,7 +875,7 @@ class Type(object): return core.BNGetAutoDemangledTypeIdSource() def with_confidence(self, confidence): - return Type(handle = core.BNNewTypeReference(self._handle), platform = self._platform, confidence = confidence) + return Type(handle = core.BNNewTypeReference(self.handle), platform = self._platform, confidence = confidence) @property def confidence(self): -- cgit v1.3.1