LADX: fix for syntax warning (#4376)

* init

* whitespace

* raw string instead
This commit is contained in:
threeandthreee 2024-12-19 22:53:58 -05:00 committed by GitHub
parent 4f71073d17
commit 35d30442f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ class RAGameboy():
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: