From f317c1b9cc4ea8ec504a7404cd262042e001e02a Mon Sep 17 00:00:00 2001 From: nolan Date: Mon, 26 Feb 2024 11:38:08 -0800 Subject: [PATCH] check for empty string --- lib_afc_mosaic/universe_map_file.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib_afc_mosaic/universe_map_file.py b/lib_afc_mosaic/universe_map_file.py index 02e04ef..31b08bd 100644 --- a/lib_afc_mosaic/universe_map_file.py +++ b/lib_afc_mosaic/universe_map_file.py @@ -381,7 +381,7 @@ class AFCMUniverseMapFile: amplify_key, mapping[amplify_key]) - if new_row['UID'] is None or new_row['UID'] == 'n/a': + if new_row['UID'].strip() in [None, 'n/a', '']: new_row['UID'] = str(uuid.uuid4()) new_row['Cell_Phone'] = formatted_number diff --git a/setup.py b/setup.py index ccf27f8..054afc9 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ with open('README.md', 'r') as f: setup( name='lib_afc_mosaic', - version='0.1.10', + version='0.1.11', author='', author_email='', description='',