Commit 6e82f31d authored by Jeremie Hallal's avatar Jeremie Hallal
Browse files

fix typo

parent 487219be
Pipeline #71260 failed with stages
in 65 minutes and 59 seconds
......@@ -51,7 +51,7 @@ class GetDataParams:
def get_curves_list(self) -> List[str]:
"""parse the curves query parameter and return the list of requested curves"""
if self.curves:
# spit and remove emty
# split and remove emty
curves = list(filter(None, map(str.strip, self.curves.split(','))))
# remove duplicates but maintain order
return list(dict.fromkeys(curves))
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