mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
✨ 忽略部分警告
This commit is contained in:
parent
8cb3ff9ca7
commit
65f659c5dc
1
main.py
1
main.py
@ -17,6 +17,7 @@ from utils.service.manager import ServicesManager
|
|||||||
# 无视相关警告
|
# 无视相关警告
|
||||||
# 该警告说明在官方GITHUB的WIKI中Frequently Asked Questions里的What do the per_* settings in ConversationHandler do?
|
# 该警告说明在官方GITHUB的WIKI中Frequently Asked Questions里的What do the per_* settings in ConversationHandler do?
|
||||||
filterwarnings(action="ignore", message=r".*CallbackQueryHandler", category=PTBUserWarning)
|
filterwarnings(action="ignore", message=r".*CallbackQueryHandler", category=PTBUserWarning)
|
||||||
|
filterwarnings(action="ignore", message=r".*Prior to v20.0 the `days` parameter", category=PTBUserWarning)
|
||||||
|
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user