summaryrefslogtreecommitdiff
path: root/python/filemetadata.py
diff options
context:
space:
mode:
authorverylazyguy <verylazyguy@hotmail.com>2022-08-04 11:22:44 -0400
committerAlexander Taylor <alex@vector35.com>2022-09-15 14:36:50 -0400
commita5b7aa17d7767318e817e3795753b4a60eb7f68e (patch)
tree9ab6dad987ba369ce344cdd05744805f97106157 /python/filemetadata.py
parent6337613488613dfe8b6583efce785bc84f11b9c3 (diff)
- send the correct type to `BNCreateDatabaseWithProgress`
Diffstat (limited to 'python/filemetadata.py')
-rw-r--r--python/filemetadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/filemetadata.py b/python/filemetadata.py
index 6b655fee..ca5645ab 100644
--- a/python/filemetadata.py
+++ b/python/filemetadata.py
@@ -443,7 +443,7 @@ class FileMetadata:
return core.BNCreateDatabaseWithProgress(
self.raw.handle, str(filename), None,
ctypes.CFUNCTYPE(ctypes.c_bool, ctypes.c_void_p, ctypes.c_ulonglong,
- ctypes.c_ulonglong)(lambda ctxt, cur, total: _progress_func(cur, total)), settings
+ ctypes.c_ulonglong)(lambda ctxt, cur, total: _progress_func(cur, total)), _settings
)
def open_existing_database(self, filename: str, progress_func: Callable[[int, int], bool] = None):