always set webhook_url

This commit is contained in:
Jannes Höke 2016-04-21 12:57:03 +02:00
parent 48eb623f15
commit c0dd9c6ffc

View file

@ -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)