From 9f07900d9952d41fc642057eaddbac7cd6d206af Mon Sep 17 00:00:00 2001 From: Gerd Augsburg Date: Tue, 1 Dec 2015 15:16:04 +0100 Subject: [PATCH] Added Balduro to AUTHORS.rst and fixed line length --- AUTHORS.rst | 1 + telegram/updater.py | 12 +++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/AUTHORS.rst b/AUTHORS.rst index 83361aebc..b7d583161 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -9,6 +9,7 @@ Contributors The following wonderful people contributed directly or indirectly to this project: - `Avanatiker `_ +- `Balduro `_ - `bimmlerd `_ - `ErgoZ Riftbit Vaper `_ - `franciscod `_ diff --git a/telegram/updater.py b/telegram/updater.py index 4be1aa269..a07c51137 100644 --- a/telegram/updater.py +++ b/telegram/updater.py @@ -91,12 +91,18 @@ class Updater: # Return the update queue so the main thread can insert updates return self.update_queue - def start_webhook(self, listen='127.0.0.1', port=80, url_path='', cert=None, key=None): + def start_webhook(self, + listen='127.0.0.1', + port=80, + url_path='', + cert=None, + key=None): """ Starts a small http server to listen for updates via webhook. If cert and key are not provided, the webhook will be started directly on - http://listen:port/url_path, so SSL can be handled by another application. Else, - the webhook will be started on https://listen:port/url_path + http://listen:port/url_path, so SSL can be handled by another + application. Else, the webhook will be started on + https://listen:port/url_path Args: listen (Optional[str]): IP-Address to listen on