From 7dc3d2ec52253ca075f0c4eec10c7b87db1c0d56 Mon Sep 17 00:00:00 2001 From: Briar Date: Thu, 10 Oct 2024 16:26:52 -0400 Subject: [PATCH] Add check for null provider name --- CHANGELOG.md | 6 ++++++ src/hapi/pipelines/utilities/provider_admin_names.py | 2 ++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d15d6ac..f937a05b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [0.10.8] - 2024-10-10 + +### Fixed + +- Added check for null provider name + ## [0.10.7] - 2024-10-10 ### Changed diff --git a/src/hapi/pipelines/utilities/provider_admin_names.py b/src/hapi/pipelines/utilities/provider_admin_names.py index afde8bee..17f93a2a 100644 --- a/src/hapi/pipelines/utilities/provider_admin_names.py +++ b/src/hapi/pipelines/utilities/provider_admin_names.py @@ -20,4 +20,6 @@ def get_provider_name( provider_name = provider_name[admin_code] if i is not None: provider_name = provider_name[i] + if provider_name is None: + provider_name = "" return provider_name