mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 09:21:54 +02:00
Update load_senior_official_table.py
This commit is contained in:
parent
f72caa3041
commit
31d408da85
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class Command(BaseCommand):
|
|||
new_so = SeniorOfficial(**so_kwargs)
|
||||
|
||||
# Store a variable for the console logger
|
||||
if any([old_first_name, new_so.last_name]):
|
||||
if all([old_first_name, new_so.last_name]):
|
||||
record_display = new_so
|
||||
else:
|
||||
record_display = so_kwargs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue