Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
fix message handling
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhaus committed Oct 3, 2021
1 parent 3fb54f2 commit b0d2c2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deebotozmo/vacuum_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ async def handle(
command_name = re.sub(
_COMMAND_REPLACE_PATTERN,
_COMMAND_REPLACE_REPLACEMENT,
command_name.lower(),
command_name,
)

# T8 series and newer
Expand All @@ -201,7 +201,7 @@ async def handle(
"Command support new format. Should never happen! Please contact developers."
)

if "map" in command_name or command_name == GetPos.name:
if "Map" in command_name or command_name == GetPos.name:
await self.map.handle(
command_name, message, requested_command is not None
)
Expand Down

0 comments on commit b0d2c2b

Please sign in to comment.