LADX: fix for syntax warning (#4376)
* init * whitespace * raw string instead
This commit is contained in:
parent
4f71073d17
commit
35d30442f7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue