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

fix logic to not for ' type ' in cleandata[0]

This commit is contained in:
Kelly Brazil
2020-04-04 17:07:38 -07:00
parent abdb9b2673
commit a9c59ef9fc

View File

@ -165,7 +165,7 @@ def parse(data, raw=False, quiet=False):
if cleandata:
# check for OSX output
if ' type ' in cleandata[0]:
if ' type ' not in cleandata[0]:
raw_output = osx_parse(cleandata)
else: