check for empty string

This commit is contained in:
nolan 2024-02-26 11:38:08 -08:00
parent ce2eb958cf
commit f317c1b9cc
2 changed files with 2 additions and 2 deletions

View File

@ -381,7 +381,7 @@ class AFCMUniverseMapFile:
amplify_key, amplify_key,
mapping[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['UID'] = str(uuid.uuid4())
new_row['Cell_Phone'] = formatted_number new_row['Cell_Phone'] = formatted_number

View File

@ -9,7 +9,7 @@ with open('README.md', 'r') as f:
setup( setup(
name='lib_afc_mosaic', name='lib_afc_mosaic',
version='0.1.10', version='0.1.11',
author='', author='',
author_email='', author_email='',
description='', description='',