File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 12
12
13
13
load_dotenv ()
14
14
15
- from models .SecretKey import SecretKey
16
-
17
- SECRET_KEY = SecretKey ()
18
15
token = os .getenv ('TELEGRAM_BOT_TOKEN_REPORT_ALARM_SECRET' )
19
16
TELEGRAM_CHANNEL_ID_HANKYUNG_CONSEN = os .getenv ('TELEGRAM_CHANNEL_ID_HANKYUNG_CONSEN' )
20
-
17
+ TELEGRAM_CHANNEL_ID_REPORT_ALARM = os . getenv ( 'TELEGRAM_CHANNEL_ID_REPORT_ALARM' )
21
18
22
19
JSON_FILE_NAME = './json/hankyungconsen_research.json'
23
20
@@ -116,7 +113,7 @@ async def main():
116
113
if lists :
117
114
for sendMessageText in lists :
118
115
await sendMarkDownText (token = token ,
119
- chat_id = SECRET_KEY . TELEGRAM_CHANNEL_ID_REPORT_ALARM ,
116
+ chat_id = TELEGRAM_CHANNEL_ID_REPORT_ALARM ,
120
117
sendMessageText = sendMessageText )
121
118
update_main_ch_send_yn_to_y (JSON_FILE_NAME )
122
119
You can’t perform that action at this time.
0 commit comments