Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update spell_checker.py #52

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Update spell_checker.py #52

wants to merge 3 commits into from

Conversation

drtagkim
Copy link

error fix

  1. JSON 인코딩 문제가 발생하는 부분을 수정합니다.
  2. passportKey, _callback 부분을 추가했습니다.
    감사합니다.

return None

def update_token(agent):

Copy link

@codnjs042 codnjs042 May 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋은 코드 감사합니다. 그런데 오류가 발생해요.
UnboundLocalError: local variable 'TOKEN' referenced before assignment
33줄에 TOKEN = None 추가해줬더니 정상 작동합니다!

++ spell_checker.check 최초 실행 시 오류가 나고 두 번째 실행부터 정상 작동되네요. 지속적인 오류로 착각했습니다.
TOKEN = None 추가 시 최초 실행부터 오류 없이 작동됩니다.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants