check for empty string
This commit is contained in:
parent
ce2eb958cf
commit
f317c1b9cc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue