Attention une mise à jour du serveur va être effectuée le vendredi 16 avril entre 12h et 12h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit b5b33978 authored by Ryan Herbert's avatar Ryan Herbert

file.py fix place that we split on the pipe

parent 950bc169
Pipeline #19950 failed with stages
in 42 seconds
......@@ -21,7 +21,7 @@ def extract_set_type(target):
'r': 'run',
's': 'generic'
}
return mapping[target.split('|')[1][0]]
return mapping[target.split(':')[1][0]]
def manage_filename(filename):
......@@ -78,7 +78,7 @@ def validate_sets(set_ids):
set_ids_arr = []
if len(set_ids) > 0:
set_ids_arr = [x.strip() for x in set_ids.split(',')]
set_ids_arr = [x.strip() for x in set_ids.split('|')]
for sid in set_ids_arr:
try:
set_type = extract_set_type(sid)
......
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