fix if chain

This commit is contained in:
HgO 2022-07-06 01:26:27 +02:00
parent 6618f7352c
commit d94a8c1098

View file

@ -54,7 +54,7 @@ class Command:
"""Process the command"""
if self.command.startswith("ack"):
await self._ack()
if self.command.startswith("unack") or self.command.startswith("nack"):
elif self.command.startswith("unack") or self.command.startswith("nack"):
await self._unack()
elif self.command.startswith("react"):
await self._react()