Fixed line counter (count all lines)

This commit is contained in:
Xavier Mertens 2018-11-02 15:55:55 +01:00
parent ac95dd4ee8
commit 05de39e271

View file

@ -77,8 +77,8 @@ def load_regex(force = False):
except: except:
print('Ignored line {}: Syntax error in "{}"'.format(line, regexConfig)) print('Ignored line {}: Syntax error in "{}"'.format(line, regexConfig))
continue continue
line += 1
lregexes.append(l) lregexes.append(l)
line += 1
print('DEBUG: regexes:') print('DEBUG: regexes:')
print(lregexes) print(lregexes)
return lregexes return lregexes