Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LADX: fix for syntax warning #4376

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
raw string instead
  • Loading branch information
threeandthreee committed Dec 15, 2024
commit 4412a3ab9d0827eabe5340a47b1f1e139226309b
2 changes: 1 addition & 1 deletion LinksAwakeningClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ async def async_read_memory_safe(self, address, size=1):

def check_command_response(self, command: str, response: bytes):
if command == "VERSION":
ok = re.match("\\d+\\.\\d+\\.\\d+", response.decode('ascii')) is not None
ok = re.match(r"\d+\.\d+\.\d+", response.decode('ascii')) is not None
else:
ok = response.startswith(command.encode())
if not ok:
Expand Down
Loading