The function prepare_frame_packet in extract_json_message.py consists of many moving parts and changes to state. One example, mentioned in #244 is the call to prepare_frames(frame_packet, ...) which modifies and returns an updated list of frames. We should try to simplify / clean up this function.
The function
prepare_frame_packetinextract_json_message.pyconsists of many moving parts and changes to state. One example, mentioned in #244 is the call toprepare_frames(frame_packet, ...)which modifies and returns an updated list of frames. We should try to simplify / clean up this function.