Skip to content

Conversation

@cocota93
Copy link

문제점

changeTREnv 함수 187번째 줄의 삼항 연산자 조건문 오류를 수정합니다.

기존

cfg['my_token'] = my_token if token_key else token_key

수정

cfg['my_token'] = my_token if my_token else token_key

기존 코드는 항상 token_key 만 할당되었으나, 수정 후에는 my_token이 있으면 우선 사용하고 없을 때만 token_key를 사용합니다.

영향범위

  • examples_user/kis_auth.py
  • examples_llm/kis_auth.py

changeTREnv 함수 187번째 줄의 삼항 연산자 조건문 오류를 수정합니다.

기존: cfg['my_token'] = my_token if token_key else token_key
수정: cfg['my_token'] = my_token if my_token else token_key

기존 코드는 token_key 존재 여부를 확인하여 항상 token_key만 할당되었으나,
수정 후에는 my_token이 있으면 우선 사용하고 없을 때만 token_key를 사용합니다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant