This commit is contained in:
jxxghp
2023-06-09 22:04:54 +08:00
parent 64713f45f1
commit 60ce3bb868
2 changed files with 2 additions and 6 deletions

View File

@ -186,6 +186,6 @@ class Telegram(metaclass=Singleton):
"""
停止Telegram消息接收服务
"""
if not self._bot:
if self._bot:
self._bot.stop_polling()
self._polling_thread.join()