1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

formatting

This commit is contained in:
Kelly Brazil
2022-10-31 17:30:51 -07:00
parent 50da124ea7
commit f6ee30be20

View File

@ -121,10 +121,7 @@ def parse(
if jc.utils.has_data(data):
for line in filter(None, data.splitlines()):
# remove initial drawing characters
line = re.sub(r'^([│ ├─└─|`-]+)/', _replace, line, count=1)
table.append(line)