Queer European MD passionate about IT
Selaa lähdekoodia

Do not wrap certificate file

Davte 5 vuotta sitten
vanhempi
sitoutus
94d563b276
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  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()