Skip to content

Commit

Permalink
Update regex to comply with Windows log format (martomi#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterhelsen authored Jul 9, 2021
1 parent 4cbeae8 commit 92fea7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chia_log/parsers/finished_signage_point_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit 92fea7b

Please sign in to comment.