From 48189981d1723a7a1a5a1c5deb2b03ec5993b0a6 Mon Sep 17 00:00:00 2001 From: Maksim Andrianov Date: Thu, 20 Jun 2019 01:56:05 +0300 Subject: [PATCH] [python][generator] Fixed regex in stats. --- tools/python/maps_generator/generator/statistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/maps_generator/generator/statistics.py b/tools/python/maps_generator/generator/statistics.py index eb0fbc3ce1..baeb0cfb8b 100644 --- a/tools/python/maps_generator/generator/statistics.py +++ b/tools/python/maps_generator/generator/statistics.py @@ -19,7 +19,7 @@ RE_TIME_DELTA = re.compile(r'^(?:(?P-?\d+) (days?, )?)?' r'(?P-?\d+)' r'(?:\.(?P\d{1,6})\d{0,6})?$') -RE_FINISH_STAGE = re.compile(r"(.*)Stage (\w+): finished in (.+)$") +RE_FINISH_STAGE = re.compile(r"(.*)Stage ([A-Za-z ]+): finished in (.+)$") def read_stat(f):