mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 15:17:00 +01:00
always set webhook_url
This commit is contained in:
parent
48eb623f15
commit
c0dd9c6ffc
1 changed files with 4 additions and 4 deletions
|
@ -305,7 +305,7 @@ class Updater(object):
|
|||
webhook_url = self._gen_webhook_url(listen, port, url_path)
|
||||
|
||||
self._set_webhook(webhook_url, bootstrap_retries,
|
||||
open(cert, 'rb'))
|
||||
open(cert, 'rb') if use_ssl else None)
|
||||
|
||||
self.httpd.serve_forever(poll_interval=1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue