1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fix unnecessary raise

This commit is contained in:
pieter 2015-10-01 22:43:18 +02:00
parent d14e9051d4
commit b801728924

View File

@ -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: