diff --git a/wis2-gdc-management/wis2_gdc/wme.py b/wis2-gdc-management/wis2_gdc/wme.py index b14661d..21f852d 100644 --- a/wis2-gdc-management/wis2_gdc/wme.py +++ b/wis2-gdc-management/wis2_gdc/wme.py @@ -45,7 +45,7 @@ def generate_wme(subject: str, report_type: str, data: dict) -> dict: return { 'specversion': '1.0', - 'type': 'int.wmo.wis2.wme.report.wcmp2.{report_type}', + 'type': f'int.wmo.wis2.wme.report.wcmp2.{report_type}', 'source': CENTRE_ID, 'subject': subject, 'id': str(uuid.uuid4()),