From 94d563b2764638043effb0eda4d157405d61e396 Mon Sep 17 00:00:00 2001 From: Davte Date: Tue, 2 Jul 2019 14:32:11 +0200 Subject: [PATCH] Do not wrap certificate file --- davtelepot/api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/davtelepot/api.py b/davtelepot/api.py index 83ff0ad..fb5ca78 100644 --- a/davtelepot/api.py +++ b/davtelepot/api.py @@ -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()