Skip to content

Commit

Permalink
fix: favorite_list
Browse files Browse the repository at this point in the history
  • Loading branch information
z0z0r4 authored Jan 5, 2024
1 parent 46e5075 commit 6f705c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bilibili_api/favorite_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ async def get_content_video(
Returns:
dict: 调用 API 返回的结果
"""
assert self.__type != FavoriteListType.VIDEO, "此函数仅在收藏夹为视频收藏家时可用"
assert self.__type == FavoriteListType.VIDEO, "此函数仅在收藏夹为视频收藏家时可用"
assert self.__media_id != None, "视频收藏夹需要 media_id"

return await get_video_favorite_list_content(
Expand Down

0 comments on commit 6f705c4

Please sign in to comment.