mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-08 18:03:33 +02:00
Update checklist.py
This commit is contained in:
@@ -436,8 +436,6 @@ def process_checklist_command(nodeID, message, name="none", location="none"):
|
||||
return ("Command: checklist followed by\n"
|
||||
"checkin [interval] [note]\n"
|
||||
"checkout [all] [note]\n"
|
||||
"checklistapprove <id>\n"
|
||||
"checklistdeny <id>\n"
|
||||
"Example: checkin 60 Leaving for a hike")
|
||||
else:
|
||||
return ("Command: checklist followed by\n"
|
||||
@@ -445,7 +443,7 @@ def process_checklist_command(nodeID, message, name="none", location="none"):
|
||||
"checkin [note]\n"
|
||||
"Example: checkout 60 Leaving for a hike")
|
||||
|
||||
elif "checklist" in message_lower:
|
||||
elif message_lower.strip() == "checklist":
|
||||
return list_checkin()
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user