From 31969221e2ac2cd27ece0be17a76ff0bfa31d6f9 Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Thu, 11 Jan 2024 20:25:30 -0500 Subject: [PATCH] sao: change handle_c12a to async --- titles/sao/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/titles/sao/base.py b/titles/sao/base.py index 623454b..e3b65c8 100644 --- a/titles/sao/base.py +++ b/titles/sao/base.py @@ -42,7 +42,7 @@ class SaoBase: resp = SaoGetMaintResponse(header.cmd +1) return resp.make() - def handle_c12a(self, header: SaoRequestHeader, request: bytes) -> bytes: + async def handle_c12a(self, header: SaoRequestHeader, request: bytes) -> bytes: #common/give_free_ticket req = SaoGiveFreeTicketRequest(header, request) self.logger.info(f"Give {req.give_num} free tickets (id {req.ticket_id}) to user {req.user_id}")