From b8017289246830a6c1a6ebec5a2fdc8389523780 Mon Sep 17 00:00:00 2001 From: pieter Date: Thu, 1 Oct 2015 22:43:18 +0200 Subject: [PATCH] Fix unnecessary raise --- telebot/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/telebot/__init__.py b/telebot/__init__.py index 9e23873..84c1b2a 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -92,7 +92,6 @@ class TeleBot: Registered listeners and applicable message handlers will be notified when a new message arrives. :raises ApiException when a call has failed. """ - raise apihelper.ApiException("Test2", None, None) updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout) new_messages = [] for update in updates: