diff --git a/Changelog.md b/Changelog.md index 27d91653552e9d175003b8ad4765a397a0431d4b..aa1c62909e4b8b732c82db7f1dd3040a8750e505 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. +## [0.86] - 2025-02-05 +- Fix old_db_2022 survey publisher to not use enum value when saving external connections + ## [0.85] - 2025-01-28 - Add back in old data publishers until the exported survey data is manually validated diff --git a/compendium_v2/publishers/survey_publisher_old_db_2022.py b/compendium_v2/publishers/survey_publisher_old_db_2022.py index f14cb4672146d22570efd34539e7b4cdddbbf37a..c49d86ac4780bb31abff1bf9abaeea523149e9bd 100644 --- a/compendium_v2/publishers/survey_publisher_old_db_2022.py +++ b/compendium_v2/publishers/survey_publisher_old_db_2022.py @@ -21,7 +21,7 @@ from collections import defaultdict import compendium_v2 from compendium_v2.conversion.mapping import CHARGING_LEVELS, CONNECTION, INTERCONNECTION, SERVICE_USER_TYPE_TO_CODE from compendium_v2.db.presentation_model_enums import CommercialCharges, CommercialConnectivityCoverage, \ - ConnectionMethod, FeeType, ServiceCategory, UserCategory, YesNoPlanned + FeeType, ServiceCategory, UserCategory, YesNoPlanned from compendium_v2.environment import setup_logging from compendium_v2.config import load from compendium_v2.publishers.helpers import extract_urls, valid_url @@ -1369,7 +1369,7 @@ def transfer_external_connections(nren_dict): conn_dict['capacity'] = None if conn_dict['interconnection_method']: int_conn = int_simple[conn_dict['interconnection_method'].replace(" ", "").lower()] - conn_dict['interconnection_method'] = ConnectionMethod[int_conn].value + conn_dict['interconnection_method'] = int_conn for nren_name, year in nren_year_set: if nren_name not in nren_dict: diff --git a/setup.py b/setup.py index efd59a2b1435c5ada86eed8c93c818eb646affeb..490b4ef9117bcf4078941b65f16c03734b1c0201 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name='compendium-v2', - version="0.85", + version="0.86", author='GEANT', author_email='swd@geant.org', description='Flask and React project for displaying '