Do not wrap certificate file
This commit is contained in:
parent
6b907957d5
commit
94d563b276
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user