Compare commits

...

2 Commits

Author SHA1 Message Date
nolan 51a811c165 check for empty string 2024-02-26 11:40:59 -08:00
nolan f317c1b9cc check for empty string 2024-02-26 11:38:08 -08:00
2 changed files with 5 additions and 2 deletions

View File

@ -381,7 +381,10 @@ 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'] is None:
new_row['UID'] = str(uuid.uuid4())
if new_row['UID'].strip() in ['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='',