chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-11-01 23:45:01 +09:00
1 parent 0cf6439538
commit 0ec1c157f4
2 files changed
+6 -4

No files matched your search

+2 -2
View File
@@ -71,7 +71,7 @@ class ACF:
return acf
def search_key(self, key: str) -> str:
return self.dict["AppState"][key]
return str(self.dict["AppState"][key])
def date_to_str(self, epoch: int) -> str | None:
if epoch == 0:
@@ -89,7 +89,7 @@ class ACF:
def get_last_updated(self) -> str | None:
return self.get_date_by_key("LastUpdated")
def get_last_played(self) -> str:
def get_last_played(self) -> str | None:
return self.get_date_by_key("LastPlayed")
def get_allows_downloads(self) -> int | None: