ensure url_path is string

This commit is contained in:
Jannes Höke 2016-03-23 10:11:10 +01:00
parent 6db377d56d
commit 5c71ebce52

View file

@ -284,7 +284,7 @@ class Updater:
self.logger.debug('Updater thread started')
use_ssl = cert is not None and key is not None
if not url_path.startswith('/'):
url_path = '/' + url_path
url_path = '/{0}'.format(url_path)
# Create and start server
self.httpd = WebhookServer((listen, port), WebhookHandler,