From a5b7aa17d7767318e817e3795753b4a60eb7f68e Mon Sep 17 00:00:00 2001 From: verylazyguy Date: Thu, 4 Aug 2022 11:22:44 -0400 Subject: - send the correct type to `BNCreateDatabaseWithProgress` --- python/filemetadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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): -- cgit v1.3.1