From f19adba838bae965290dacbe758b4d7866182c0c Mon Sep 17 00:00:00 2001 From: LDericher <40151420+ldericher@users.noreply.github.com> Date: Wed, 8 Sep 2021 23:42:08 +0200 Subject: [PATCH] type hinting bug --- fftcgtool/carddb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftcgtool/carddb.py b/fftcgtool/carddb.py index d30ce4e..3b03385 100644 --- a/fftcgtool/carddb.py +++ b/fftcgtool/carddb.py @@ -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: