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

fix blank output case in ls

This commit is contained in:
Kelly Brazil
2019-10-18 18:46:25 -07:00
parent a9294f32a0
commit d6f94c53a4

View File

@ -92,6 +92,7 @@ def parse(data):
linedata = data.splitlines()
# Delete first line if it starts with 'total'
if linedata:
if linedata[0].find('total') == 0:
linedata.pop(0)