Skip to content

Commit

Permalink
get dxcall by session id
Browse files Browse the repository at this point in the history
  • Loading branch information
DJ2LS committed Nov 9, 2024
1 parent 08ea177 commit 2180e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freedata_server/frame_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def handle(self, frame, snr, frequency_offset, freedv_inst, bytes_per_frame):
print(self.details)

if 'origin' not in frame and 'session_id' in frame:
dxcall = self.states.get_dxcall_by_session_id(frame['session_id'])
dxcall = self.states.get_dxcall_by_session_id(self.details['frame']['session_id'])
if dxcall:
self.details['origin'] = dxcall

Expand Down

0 comments on commit 2180e72

Please sign in to comment.