Commit a9b63a27 authored by Jerome Touvier's avatar Jerome Touvier
Browse files

Merge branch 'update' into 'master'

fix none data

See merge request !19
parents 01a1a41e 33ac692b
Pipeline #52345 passed with stage
in 52 seconds
......@@ -136,7 +136,8 @@ def format_results(params, data):
data = [["all", data[0][0], data[0][1]]]
if params["format"] != "csv":
for row in data:
row[:] = [row[0], "{:_}".format(row[1]), "{:_}".format(row[2])]
if row[1] and row[2]:
row[:] = [row[0], "{:_}".format(row[1]), "{:_}".format(row[2])]
elif params["request"] == "send":
if params["format"] != "csv":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment