Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

error while running tgtg_get_tokens script linked to new cookies attribute #54

Closed
JustAnyGitHubUser opened this issue Jan 31, 2023 · 1 comment

Comments

@JustAnyGitHubUser
Copy link

When running the tgtg_get_tokens to generate the new tokens, In addition to the new tokens, I also get the follwing error. Any ideas what I am doing wrong here?

Traceback (most recent call last):
  File "C:\Users\xxxxx\Downloads\home_assistant_tgtg-5.0.0\tgtg_get_tokens.py", line 25, in <module>
    print("    cookie: '" + tgtgClient.cookie + "'")
AttributeError: 'TgtgClient' object has no attribute 'cookie'
@JustAnyGitHubUser JustAnyGitHubUser changed the title error while running tgtg_get_tokens scirpt linked to new cookies attribute error while running tgtg_get_tokens script linked to new cookies attribute Jan 31, 2023
@JustAnyGitHubUser
Copy link
Author

My bad ... before running the tgtg_get_token script of course I needed to update the tgtg client first using:
pip install tgtg==0.14.0
After the tgtg_get_tokens script runs just fine.

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

No branches or pull requests

1 participant