Fix tiny bug
This commit is contained in:
parent
7427007520
commit
92781d35f7
1 changed files with 1 additions and 1 deletions
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):
|
||||
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.')
|
||||
|
|
Loading…
Reference in a new issue