Queer European MD passionate about IT
Browse Source

Do not wrap certificate file

Davte 5 years ago
parent
commit
94d563b276
1 changed files with 3 additions and 3 deletions
  1. 3 3
      davtelepot/api.py

+ 3 - 3
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()