clan: revert flake.lock upgrade

This commit is contained in:
Qubasa
2025-01-06 19:12:52 +01:00
parent 63331a2a44
commit c0ecb557bf
3 changed files with 6 additions and 6 deletions

View File

@@ -126,7 +126,7 @@ class Webview:
c_callback = _webview_lib.CFUNCTYPE(
None, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_void_p
)(wrapper)
log.debug(f"Binding {name} to {method}")
if name in self._callbacks:
msg = f"Callback {name} already exists. Skipping binding."
raise RuntimeError(msg)