fix #5 regex bug in mice telemetry parsing

This commit is contained in:
Rossen Georgiev 2015-07-19 19:26:10 +01:00
parent 347410db37
commit c8ba854eb4
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@ def _parse_mice(dstcall, body):
body = body[8:]
# check for optional 2 or 5 channel telemetry
match = re.findall(r"^('[0-9a-f]{10}|`[0-9-af]{4})(.*)$", body)
match = re.findall(r"^('[0-9a-f]{10}|`[0-9a-f]{4})(.*)$", body)
if match:
hexdata, body = match[0]