diff --git a/app/routers/event_importing.py b/app/routers/event_importing.py index bc0ff72..00f59b5 100644 --- a/app/routers/event_importing.py +++ b/app/routers/event_importing.py @@ -662,7 +662,7 @@ async def event_importing_program_data( event_session_data['event_location_id'] = event_location_id # INSERT and UPDATE the event_location_id in case the session was moved if record.get('session_name'): event_session_data['name'] = record.get('session_name', '').strip() - else: + elif 'session_name' in record: event_session_data['name'] = None # Max length of type_code is 25 characters. We must truncate it.