summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAlexander Taylor <alex@vector35.com>2026-03-20 15:36:00 -0400
committerAlexander Taylor <alex@vector35.com>2026-03-20 15:36:00 -0400
commit896f4b96b3f8e6f62e5fdd03803fdfc399db9c5d (patch)
tree053f34f6043bced921349c197d38c3d25ebd1e92 /python
parentd47b6d066fb8ff1f6ca688f3d590ad5f8237d59d (diff)
Fix improper variable cast in databasesync.py
Diffstat (limited to 'python')
-rw-r--r--python/collaboration/databasesync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/collaboration/databasesync.py b/python/collaboration/databasesync.py
index 62805e87..14966162 100644
--- a/python/collaboration/databasesync.py
+++ b/python/collaboration/databasesync.py
@@ -177,7 +177,7 @@ def get_local_snapshot_for_remote(snapshot: snapshot.CollabSnapshot, database: D
:raises RuntimeError: If there was an error
"""
value = core.BNSnapshotHandle()
- if not core.BNCollaborationGetLocalSnapshotFromRemote(snapshot._handle, ctypes.cast(database.handle, core.BNSnapshotHandle), value):
+ if not core.BNCollaborationGetLocalSnapshotFromRemote(snapshot._handle, ctypes.cast(database.handle, core.BNDatabaseHandle), value):
raise RuntimeError(util._last_error())
if not value:
return None