diff --git a/telegram/ext/updater.py b/telegram/ext/updater.py index 91e184da2..c64bad23a 100644 --- a/telegram/ext/updater.py +++ b/telegram/ext/updater.py @@ -330,6 +330,7 @@ class Updater(object): # Disable webhook for cleaning self.bot.setWebhook(webhook_url='') self._clean_updates() + sleep(1) self.bot.setWebhook(webhook_url=webhook_url, certificate=cert) except (Unauthorized, InvalidToken):