mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-11 05:17:24 +08:00
feat: 忽略键盘中断类错误
This commit is contained in:
parent
f15bd985af
commit
f6ee13c263
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user