Skip to content
Snippets Groups Projects

The file list from the query is already in the right array format

Merged Nathan Bockisch requested to merge ws-1992-add-image-wrester into 2.8.2.1-DEVELOMENT
2 files
+ 2
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -436,7 +436,7 @@ class WrestWorkflowMetadata:
data = cursor.fetchall()
if data:
# This should have all the ancillary and science product names
make_json = json.dumps({"filesList": [file] for file in data})
make_json = json.dumps({"filesList": data})
else:
self.logger.error(f"ERROR: Failed to fetch products from product ID {product_group_id}")
else:
Loading