From 05de39e2711eb50e2ff7936c25664a1dce7a44c9 Mon Sep 17 00:00:00 2001 From: Xavier Mertens Date: Fri, 2 Nov 2018 15:55:55 +0100 Subject: [PATCH] Fixed line counter (count all lines) --- bin/Regex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/Regex.py b/bin/Regex.py index 6b01ffc5..1d3216f1 100644 --- a/bin/Regex.py +++ b/bin/Regex.py @@ -77,8 +77,8 @@ def load_regex(force = False): except: print('Ignored line {}: Syntax error in "{}"'.format(line, regexConfig)) continue - line += 1 lregexes.append(l) + line += 1 print('DEBUG: regexes:') print(lregexes) return lregexes