mirror of
https://github.com/ldericher/fftcgtool
synced 2025-01-15 06:53:00 +00:00
type hinting bug
This commit is contained in:
parent
56363f4682
commit
f19adba838
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class CardDB:
|
|||
|
||||
self._load(io.BytesIO(res.content))
|
||||
|
||||
def _load(self, db: PathLike[str] | IO[bytes]):
|
||||
def _load(self, db: str | PathLike[str] | IO[bytes]):
|
||||
try:
|
||||
# unpickle db file
|
||||
with zipfile.ZipFile(db, "r") as zip_file:
|
||||
|
|
Loading…
Reference in a new issue