Skip to content

Commit

Permalink
创建目录时支持绝对与相对路径
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnserf-Seed committed Dec 31, 2023
1 parent 2688e5e commit 6c1ea68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions f2/apps/douyin/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,8 @@ def create_user_folder(kwargs: dict, nickname: Union[str, int]) -> Path:
Note:
如果未在配置文件中指定路径,则默认为 "Download"。
(If the path is not specified in the conf file, it defaults to "Download".)
仅支持相对路径
(Only relative paths are supported.)
支持绝对与相对路径
(Support absolute and relative paths)
Raises:
TypeError: 如果 kwargs 不是字典格式,将引发 TypeError。
Expand Down

0 comments on commit 6c1ea68

Please sign in to comment.