arbitrary cleanup; add missing features to Variable

This commit is contained in:
gnat
2025-02-14 18:19:48 -08:00
parent 5a6284d697
commit 2ddb8a05cd
3 changed files with 19 additions and 6 deletions

View File

@ -12,7 +12,6 @@ class AstalPy(Astal.Application):
request_handler: Optional[Callable[[str, Callable[[Any], None]], None]] = None
def do_astal_application_request(self, msg: str, conn: Gio.SocketConnection):
print(msg)
if callable(self.request_handler):
def respond(response: Any):
AstalIO.write_sock(conn, str(response), None, None)