removed hardcoded value

This commit is contained in:
2021-03-16 17:19:05 +01:00
parent 3ccaa66f5b
commit a914f67991

View File

@@ -115,7 +115,7 @@ def get_labeled_sources(sources, label):
:param label:
:return: list of source config that contains label
"""
return [x for x in sources["sources"] if "labels" in x and 'SARES20-CAMS142-M5' in x['labels']]
return [x for x in sources["sources"] if "labels" in x and label in x['labels']]
def read_files(files_dir, file_type):