mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-06-30 20:02:15 +08:00
feat: 支持分 p 视频下载,待额外测试 (#24)
This commit is contained in:
4
utils.py
4
utils.py
@@ -27,9 +27,7 @@ async def amakedirs(path: Path, exist_ok=False) -> None:
|
||||
await makedirs(path, exist_ok=exist_ok)
|
||||
|
||||
|
||||
def aopen(
|
||||
path: Path, mode: str = "r", **kwargs
|
||||
) -> AiofilesContextManager[None, None, AsyncTextIOWrapper]:
|
||||
def aopen(path: Path, mode: str = "r", **kwargs) -> AiofilesContextManager[None, None, AsyncTextIOWrapper]:
|
||||
return aiofiles.open(path, mode, **kwargs)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user