Merge branch 'multi-deployment' of github:git-sid/ticketfrei into multi-deployment

# Conflicts:
#	active_bots/telegrambot.py
master
b3yond 2018-09-09 17:52:23 +02:00
commit 9c27c4093a
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ class TelegramBot(Bot):
tb = Telegram(user.get_telegram_credentials())
seen_tg = user.get_seen_tg()
try:
updates = tb.get_updates(offset=seen_tg+1).wait()
updates = tb.get_updates(offset=seen_tg + 1,
allowed_updates="message").wait()
except TypeError:
updates = tb.get_updates().wait()
reports = []