summaryrefslogtreecommitdiff
path: root/python/filemetadata.py
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2020-09-17 18:00:41 -0400
committerJosh Ferrell <josh@vector35.com>2020-09-17 18:00:41 -0400
commitd7f0132137609f09d3e69dd129628fd37b814b66 (patch)
tree5b9607fdfc7c2d209c05cc108117459392d675de /python/filemetadata.py
parentd5f15cc005c0eed171d8e09356d298060dc5c98c (diff)
Pass settings handle in save_auto_snapshot
Diffstat (limited to 'python/filemetadata.py')
-rw-r--r--python/filemetadata.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/filemetadata.py b/python/filemetadata.py
index 66639c3b..c5f6b0f9 100644
--- a/python/filemetadata.py
+++ b/python/filemetadata.py
@@ -408,6 +408,9 @@ class FileMetadata(object):
return binaryninja.binaryview.BinaryView(file_metadata = self, handle = view)
def save_auto_snapshot(self, progress_func = None, settings = None):
+ if settings is not None:
+ settings = settings.handle
+
if progress_func is None:
return core.BNSaveAutoSnapshot(self.raw.handle, settings)
else: