check for empty string

This commit is contained in:
nolan 2024-02-26 11:40:59 -08:00
parent f317c1b9cc
commit 51a811c165
1 changed files with 4 additions and 1 deletions

View File

@ -381,7 +381,10 @@ class AFCMUniverseMapFile:
amplify_key,
mapping[amplify_key])
if new_row['UID'].strip() in [None, '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['Cell_Phone'] = formatted_number