You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python gui.py
pygame 2.0.1 (SDL 2.0.14, Python 3.8.0)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "gui.py", line 31, in
from secrets import TOKEN # for debugging
ImportError: cannot import name 'TOKEN' from 'secrets' (C:\Program Files\Python38\lib\secrets.py)
Sorry to be a bother, I've been trying to get it to work but no luck, I've been able to solve (most) errors myself, but don't know what to do about this one. Thanks in any case.
The text was updated successfully, but these errors were encountered:
Ah, I must have left that in accidentally. It was just a debugging file that saved my streamelements JWT token in plain text.
To fix it you can edit gui.py and comment out line 31, 628 and 629. Then uncomment lines 626 and 627.
Would appreciate if someone with more free time can help make a PR for this
python gui.py
pygame 2.0.1 (SDL 2.0.14, Python 3.8.0)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "gui.py", line 31, in
from secrets import TOKEN # for debugging
ImportError: cannot import name 'TOKEN' from 'secrets' (C:\Program Files\Python38\lib\secrets.py)
Sorry to be a bother, I've been trying to get it to work but no luck, I've been able to solve (most) errors myself, but don't know what to do about this one. Thanks in any case.
The text was updated successfully, but these errors were encountered: