Skip to content

Commit

Permalink
Revert some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed May 10, 2024
1 parent cd436a4 commit 0e47f2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cerebro/sources/lvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,13 @@ async def _read_internal(

data = await asyncio.wait_for(reader.readuntil(b"\\"), timeout=5)
data = data.decode()
log.info(f"{self} {data}")

m = re.match(
r"^@[0-9]{1,3}ACKQ?"
r"([0-9]+?.[0-9]+E[+-][0-9]+),"
r"([0-9]+?.[0-9]+E[+-][0-9]+),"
r"([0-9]+?.[0-9]+E[+-][0-9]+),"
r"([0-9]+\.[0-9]+),$",
r"([0-9]+\.[0-9]+),.+\\$",
data,
)
if not m:
Expand Down

0 comments on commit 0e47f2e

Please sign in to comment.