Skip to content

Commit

Permalink
whitespace :(
Browse files Browse the repository at this point in the history
  • Loading branch information
gsfk committed Jan 23, 2024
1 parent ce35f66 commit 5eec3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bento_beacon/endpoints/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def build_service_info():
# may be multiple datasets, so collect all descriptions into one string
# for custom description, add a "description" field to service info in beacon_config.json
k_datasets = katsu_datasets()
dats_array = list(map(lambda d: json.loads(d.get("datsFile", "{}")), k_datasets))
dats_array = list(map(lambda d: json.loads(d.get("datsFile", "{}")), k_datasets))
description = " ".join([d.get("description") for d in dats_array if "description" in d])
if description and service_info.get("description") is None:
service_info["description"] = description
Expand Down

0 comments on commit 5eec3f6

Please sign in to comment.