Skip to content

Commit

Permalink
feat: 忽略键盘中断类错误
Browse files Browse the repository at this point in the history
  • Loading branch information
snowykami committed Mar 27, 2024
1 parent f15bd98 commit f6ee13c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions liteyuki/plugins/liteyuki_user/profile_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,5 @@ def set_profile(key: str, value: str) -> bool:
elif key == "timezone":
if value in pytz.all_timezones:
return True
elif key == "nickname":
return True

0 comments on commit f6ee13c

Please sign in to comment.