fix: don't use AsyncPath.cwd()

async await
This commit is contained in:
tretrauit 2024-06-05 09:49:00 +07:00
parent df00e6b679
commit f0c51530c4
2 changed files with 1 additions and 1 deletions

0
worthless/cli.py Executable file → Normal file
View File

View File

@ -28,7 +28,7 @@ except ImportError:
class Patcher:
def __init__(self, gamedir: Path | AsyncPath | str = AsyncPath.cwd(), data_dir: str | Path | AsyncPath = None,
def __init__(self, gamedir: Path | AsyncPath | str = Path.cwd(), data_dir: str | Path | AsyncPath = None,
patch_url: str = None, overseas=True, patch_provider="Krock"):
if isinstance(gamedir, str | Path):
gamedir = AsyncPath(gamedir)