Skip to content

Commit

Permalink
Add first_record in 'previous_firm_nm = firm_nm'
Browse files Browse the repository at this point in the history
  • Loading branch information
liante0904 committed Aug 12, 2024
1 parent f08ecb0 commit 210563e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/json_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ def get_unsent_main_ch_data_to_local_json(filename):
if first_record:
current_message += f"●{firm_nm}\n"
first_record = False
previous_firm_nm = firm_nm
elif firm_nm != previous_firm_nm:
if previous_firm_nm is not None:
current_message += "\n"
Expand Down

0 comments on commit 210563e

Please sign in to comment.