Skip to content

Commit

Permalink
修复登录问题
Browse files Browse the repository at this point in the history
  • Loading branch information
smoadrareun authored Apr 23, 2024
1 parent a141dea commit 6138c13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nonebot_plugin_bilifan/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
async def _(matcher: Matcher, event: Event):
try:
login_url, auth_code = await get_tv_qrcode_url_and_auth_code()
except Exception:
# print(e)
except Exception as e:
print(e)
await matcher.finish("已超时,请稍后重试!")
data_path = Path().joinpath(f"data/bilifan/{event.get_user_id()}")
data_path.mkdir(parents=True, exist_ok=True)
Expand Down

0 comments on commit 6138c13

Please sign in to comment.