fix multiple additional arguments

This commit is contained in:
Jannes Höke 2015-11-22 14:07:20 +01:00
parent 628e1b743a
commit 3e732a0736

View file

@ -577,7 +577,8 @@ class Broadcaster:
if 'update_queue' in fargs:
kwargs['update_queue'] = self.update_queue
elif 'args' in fargs:
if 'args' in fargs:
if isinstance(update, Update):
args = update.message.text.split(' ')[1:]
elif isinstance(update, str):