From e3cc710e472b6456ee7f2dace5877d4359996a51 Mon Sep 17 00:00:00 2001 From: pieterhelsen Date: Thu, 8 Jul 2021 19:43:23 +0200 Subject: [PATCH] Update regex to comply with Windows log format --- src/chia_log/parsers/finished_signage_point_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chia_log/parsers/finished_signage_point_parser.py b/src/chia_log/parsers/finished_signage_point_parser.py index d6c61d7..9f626e3 100644 --- a/src/chia_log/parsers/finished_signage_point_parser.py +++ b/src/chia_log/parsers/finished_signage_point_parser.py @@ -29,7 +29,7 @@ def __init__(self): # Doing some "smart" tricks with this expression to also match the 64th signage point # with the same regex expression. See test examples to see how they differ. self._regex = re.compile( - r"([0-9:.]*) full_node (?:src|chia).full_node.full_node(?:\s?): INFO\s* ⏲️ [a-z A-Z,]* ([0-9]*)\/64" + r"([0-9:.]*) full_node (?:src|chia).full_node.full_node(?:\s?): INFO\s*(?:⏲️|.)[a-z A-Z,]* ([0-9]*)\/64" ) def parse(self, logs: str) -> List[FinishedSignagePointMessage]: