Fix tiny bug

This commit is contained in:
Sijmen 2017-11-10 16:59:35 +01:00
parent 7427007520
commit 92781d35f7

2
app.py
View file

@ -124,7 +124,7 @@ async def cmd_grouptasks(message):
async def get_task_from_args(token, message, group_id=None):
task_code = baas32.normalize(message.args)
task_code = baas32.normalize(message.args) if message.args else ''
if not task_code:
await message.chat.message(
'Welke taak? Protip: zet de taakcode achter het commando.')