From 568f7ce7a7fd5f8081817dfb4d880e35abf014af Mon Sep 17 00:00:00 2001 From: Kyle Yee Date: Sat, 18 Sep 2021 12:09:25 +0800 Subject: [PATCH] fix blockfound parser --- src/chia_log/parsers/block_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chia_log/parsers/block_parser.py b/src/chia_log/parsers/block_parser.py index f69fd3f..3348856 100644 --- a/src/chia_log/parsers/block_parser.py +++ b/src/chia_log/parsers/block_parser.py @@ -27,7 +27,7 @@ class BlockParser: def __init__(self): logging.info("Enabled parser for block found stats.") self._regex = re.compile( - r"([0-9:.]*) full_node (?:src|chia).full_node.full_node\s*: INFO\s* ((?:🍀|.)\s* Farmed unfinished_block)" + r"([0-9:.]*) full_node (?:src|chia).full_node.full_node\s*: INFO\s* ((?:🍀 ️|.)\s*Farmed unfinished_block)" ) def parse(self, logs: str) -> List[BlockMessage]: