Community
Personal Conveyance Key Error
Receiving the following error when running a check for PC. Is this connected to the end of daylight saving time?
KeyError Traceback (most recent call last)
in
61 row['Status'] = log_entry['hosStatusType']
62 log_start_time = datetime.datetime.fromisoformat(log_entry['logStartTime'][:-1]).replace(
---> 63 tzinfo=datetime.timezone.utc).astimezone(dateutil.tz.gettz(driver_timezones[driver_log['driver']['id']]))
64 log_end_time = datetime.datetime.fromisoformat(log_entry['logEndTime'][:-1]).replace(
65 tzinfo=datetime.timezone.utc).astimezone(dateutil.tz.gettz(driver_timezones[driver_log['driver']['id']]))
KeyError: '36365657'