diva: fix typing

This commit is contained in:
Hay1tsme
2023-11-08 21:23:54 -05:00
parent 572b8ddbe5
commit 81c13f5008
3 changed files with 4 additions and 4 deletions

View File

@@ -163,7 +163,7 @@ class AttendResponse(BaseResponse):
return ret
class SpendCreditRequest(BaseRequest):
def __init__(self, raw: str | bytes) -> None:
def __init__(self, raw: Union[str, bytes]) -> None:
super().__init__(raw)
try:
self.pd_id = int(self.pd_id)