Do not wrap certificate file

This commit is contained in:
Davte 2019-07-02 14:32:11 +02:00
parent 6b907957d5
commit 94d563b276

View File

@ -210,9 +210,9 @@ class TelegramBot(object):
except FileNotFoundError as e:
logging.error(f"{e}")
certificate = None
certificate = dict(
file=certificate
)
# certificate = dict(
# file=certificate
# )
return await self.api_request(
'setWebhook',
parameters=locals()