clan: revert flake.lock upgrade

This commit is contained in:
Qubasa
2025-01-06 19:12:52 +01:00
parent 26ff5aa1e1
commit 04e644cacc
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)