mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-16 12:25:45 +01:00
ensure url_path is string
This commit is contained in:
parent
6db377d56d
commit
5c71ebce52
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue