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