1
0
Fork 0
mirror of https://github.com/ldericher/fftcgtool synced 2025-01-15 06:53:00 +00:00

type hinting bug

This commit is contained in:
Jörn-Michael Miehe 2021-09-08 23:42:08 +02:00
parent 56363f4682
commit f19adba838

View file

@ -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: