Queer European MD passionate about IT
Prechádzať zdrojové kódy

Do not wrap certificate file

Davte 5 rokov pred
rodič
commit
94d563b276
1 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  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()