fix: don't use AsyncPath.cwd()
async await
This commit is contained in:
0
worthless/cli.py
Executable file → Normal file
0
worthless/cli.py
Executable file → Normal 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)
|
||||
|
||||
Reference in New Issue
Block a user