mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Typehint fix if there is no flask installed
This commit is contained in:
@ -12,6 +12,7 @@ try:
|
||||
from werkzeug.serving import _TSSLContextArg
|
||||
except ImportError:
|
||||
flask_installed = False
|
||||
_TSSLContextArg = None
|
||||
|
||||
|
||||
from telebot.types import Update
|
||||
|
Reference in New Issue
Block a user