diff --git a/wis2box_api/plugins/process/csv2bufr.py b/wis2box_api/plugins/process/csv2bufr.py index 948c690..230e0ca 100644 --- a/wis2box_api/plugins/process/csv2bufr.py +++ b/wis2box_api/plugins/process/csv2bufr.py @@ -145,7 +145,7 @@ def execute(self, data): if not os.path.isfile(template): lt = c2bt.list_templates() - tn = [ x['name'] for x in lt.values()] + tn = [x['name'] for x in lt.values()] if template not in tn: raise Exception(f"Unknown template: {template}, options are: {', '.join(tn)}") # noqa mappings = c2bt.load_template(template)