Fix tiny bug
This commit is contained in:
parent
7427007520
commit
92781d35f7
2
app.py
2
app.py
|
@ -124,7 +124,7 @@ async def cmd_grouptasks(message):
|
||||||
|
|
||||||
|
|
||||||
async def get_task_from_args(token, message, group_id=None):
|
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:
|
if not task_code:
|
||||||
await message.chat.message(
|
await message.chat.message(
|
||||||
'Welke taak? Protip: zet de taakcode achter het commando.')
|
'Welke taak? Protip: zet de taakcode achter het commando.')
|
||||||
|
|
Loading…
Reference in New Issue