fix khal
This commit is contained in:
parent
9ac8161427
commit
697d849574
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ lines = output.split("\n")
|
||||||
new_lines = []
|
new_lines = []
|
||||||
for line in lines:
|
for line in lines:
|
||||||
clean_line = escape(line).split(" ::")[0]
|
clean_line = escape(line).split(" ::")[0]
|
||||||
if len(clean_line) and not clean_line[0] in ['0', '1', '2']:
|
if len(clean_line) and clean_line[0].isalpha():
|
||||||
clean_line = "\n<b>"+clean_line+"</b>"
|
clean_line = "\n<b>"+clean_line+"</b>"
|
||||||
new_lines.append(clean_line)
|
new_lines.append(clean_line)
|
||||||
output = "\n".join(new_lines).strip()
|
output = "\n".join(new_lines).strip()
|
||||||
|
|
Loading…
Reference in a new issue