summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2020-05-02 11:03:04 -0400
committerPeter LaFosse <peter@vector35.com>2020-05-03 13:20:56 -0400
commit494840581d8cbc99751f2ca452fe120f48746804 (patch)
treefbf9ae0a6f59f2e262e51902b6e8c244ee456e40 /python
parente9fc49a59d26fe06cefa84321ff6c80c95c7809e (diff)
Use correct core API for merge_user_analysis
Diffstat (limited to 'python')
-rw-r--r--python/filemetadata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/filemetadata.py b/python/filemetadata.py
index 58afeeec..76cbfe98 100644
--- a/python/filemetadata.py
+++ b/python/filemetadata.py
@@ -364,8 +364,8 @@ class FileMetadata(object):
ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_ulonglong, ctypes.c_ulonglong)(
lambda ctxt, cur, total: progress_func(cur, total)), clean)
- def merge_database(self, path, progress_func = None):
- return core.BNMergeUndo(self.handle, str(path), None,
+ def merge_user_analysis(self, path, progress_func = None):
+ return core.BNMergeUserAnalysis(self.handle, str(path), None,
ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_ulonglong, ctypes.c_ulonglong)(
lambda ctxt, cur, total: progress_func(cur, total)))