Skip to content

Commit

Permalink
Fix invalid escape sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
Santobert committed Apr 4, 2024
1 parent ffc04c7 commit e97c8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybotvac/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def __init__(

# pylint: disable=anomalous-backslash-in-string
self._url = "{endpoint}/vendors/{vendor_name}/robots/{serial}/messages".format(
endpoint=re.sub(":\d+", "", endpoint), # noqa: W605, Remove port number
endpoint=re.sub(r":\d+", "", endpoint), # Remove port number
vendor_name=vendor.name,
serial=self.serial,
)
Expand Down

0 comments on commit e97c8a5

Please sign in to comment.