lib: fix path the led to group_nl_converted being referenced when not set

Signed-off-by: Lou Berger <lberger@labn.net>
This commit is contained in:
Lou Berger 2018-04-13 11:47:02 -04:00 committed by Donald Sharp
parent d521440020
commit 518874f48a

View File

@ -208,6 +208,8 @@ Total %-4d %-4d %d\n\
if search_nl != None:
group_nl = search_nl.group()
group_nl_converted = " ".join(group_nl.splitlines())
else:
group_nl_converted = None
out = " ".join(out.splitlines())
search = re.search(regexp, out)