Skip to content
Snippets Groups Projects
Commit fff1b630 authored by Chad Kerner's avatar Chad Kerner
Browse files

misc updates

parent 3400c569
No related branches found
No related tags found
No related merge requests found
......@@ -97,12 +97,15 @@ if __name__ == '__main__':
sys.exit(1)
for line in data.splitlines():
lined = line.decode()
array = lined.split(',')
lineDecoded = line.decode()
array = lineDecoded.split(',')
if options['human']:
print_human_readable( array )
elif options['csv']:
print(lined)
if lineDecoded.contains('REJECTED'):
print(lineDecoded)
else:
print_raw( array )
if options['human']:
print_human_readable( array )
elif options['csv']:
print(lineDecoded)
else:
print_raw( array )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment