pkgs/clan-app: Refactor debugger

This commit is contained in:
a-kenji
2025-08-25 18:25:02 +02:00
parent 59e50c6150
commit 85ad51ce4c

View File

@@ -56,7 +56,8 @@ class Webview:
def _create_handle(self) -> None: def _create_handle(self) -> None:
# Initialize the webview handle # Initialize the webview handle
handle = _webview_lib.webview_create(int(True), self.window) with_debugger = True
handle = _webview_lib.webview_create(int(with_debugger), self.window)
callbacks: dict[str, Callable[..., Any]] = {} callbacks: dict[str, Callable[..., Any]] = {}
# Since we can't use object.__setattr__, we'll initialize differently # Since we can't use object.__setattr__, we'll initialize differently