Skip to content

Commit

Permalink
init send_report_by_keyword..?...
Browse files Browse the repository at this point in the history
  • Loading branch information
liante0904 committed Aug 22, 2024
1 parent f9fbb3d commit 1e017c5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions send_report_by_keyword_to_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def update_send_user(data, user_id):
# # 중복 데이터 제거 및 병합
# merged_data = remove_duplicates(main_data_today, *other_data_sources_today)

insert_data()

# 상위 폴더 기준 파일 경로 설정
relative_path = 'telegram-stock-info-bot/report_alert_keyword.json'
Expand Down Expand Up @@ -150,8 +149,4 @@ def update_send_user(data, user_id):
# for updated_item in merged_data:
# if item['FIRM_NM'] == updated_item['FIRM_NM']:
# if 'SEND_USER' in updated_item:
# item['SEND_USER'] = updated_item['SEND_USER']

# # 수정된 데이터를 저장
# with open(main_file, 'w', encoding='utf-8') as file:
# json.dump(main_data, file, ensure_ascii=False, indent=4)
# item['SEND_USER'] = updated_item['SEND_USER']

0 comments on commit 1e017c5

Please sign in to comment.