diff options
| author | verylazyguy <verylazyguy@hotmail.com> | 2022-08-04 11:22:44 -0400 |
|---|---|---|
| committer | Alexander Taylor <alex@vector35.com> | 2022-09-15 14:36:50 -0400 |
| commit | a5b7aa17d7767318e817e3795753b4a60eb7f68e (patch) | |
| tree | 9ab6dad987ba369ce344cdd05744805f97106157 /python/filemetadata.py | |
| parent | 6337613488613dfe8b6583efce785bc84f11b9c3 (diff) | |
- send the correct type to `BNCreateDatabaseWithProgress`
Diffstat (limited to 'python/filemetadata.py')
| -rw-r--r-- | python/filemetadata.py | 2 |
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): |
