fix if chain
This commit is contained in:
parent
6618f7352c
commit
d94a8c1098
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class Command:
|
||||||
"""Process the command"""
|
"""Process the command"""
|
||||||
if self.command.startswith("ack"):
|
if self.command.startswith("ack"):
|
||||||
await self._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()
|
await self._unack()
|
||||||
elif self.command.startswith("react"):
|
elif self.command.startswith("react"):
|
||||||
await self._react()
|
await self._react()
|
||||||
|
|
Loading…
Reference in a new issue