Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 33ac692b authored by Jerome Touvier's avatar Jerome Touvier
Browse files

fix none data

parent 6bed9979
Pipeline #52344 passed with stage
in 48 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