Skip to content

Commit

Permalink
fix: credential check valid in parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo2011 committed Jan 31, 2025
1 parent b288fb2 commit d139037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bilibili_api/tools/parser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async def __aenter__(self):
obj, err = await self.parse(val)
if err is None:
if isinstance(obj, bilibili_api.Credential):
self.valid = await bilibili_api.check_valid(obj)
self.valid = await obj.check_valid()
self.params[key] = obj
return self

Expand Down

0 comments on commit d139037

Please sign in to comment.