Prep for ISHLT
This commit is contained in:
@@ -552,20 +552,20 @@ async def event_import_reg(
|
|||||||
if location: event_badge_data['location'] = location
|
if location: event_badge_data['location'] = location
|
||||||
|
|
||||||
# Process for badge markings and ticket options
|
# Process for badge markings and ticket options
|
||||||
# log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
log.debug(registrant_sessions)
|
log.debug(registrant_sessions)
|
||||||
for registrant_session in registrant_sessions:
|
for registrant_session in registrant_sessions:
|
||||||
# if registrant_session.get('code') == 'Other Session???':
|
# if registrant_session.get('code') == 'Other Session???':
|
||||||
# event_badge_data['ticket_1_code'] = 'other_sessions_placeholder'
|
# event_badge_data['ticket_1_code'] = 'other_sessions_placeholder'
|
||||||
|
|
||||||
if registrant_session.get('code') == 'First Timer Orientation':
|
if registrant_session and registrant_session.get('code') == 'First Timer Orientation':
|
||||||
event_badge_data['ticket_3_code'] = 'first_timers_breakfast'
|
event_badge_data['ticket_3_code'] = 'first_timers_breakfast'
|
||||||
# log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
# log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
|
|
||||||
event_person_data['event_badge'] = {}
|
event_person_data['event_badge'] = {}
|
||||||
event_person_data['event_badge'] = event_badge_data
|
event_person_data['event_badge'] = event_badge_data
|
||||||
|
|
||||||
# log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
log.debug(event_person_data)
|
log.debug(event_person_data)
|
||||||
|
|
||||||
sql_select_event_person = f"""
|
sql_select_event_person = f"""
|
||||||
|
|||||||
Reference in New Issue
Block a user