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

DOUBT ! What must be done here ? #2

Open
Harithadxb opened this issue Mar 2, 2019 · 1 comment
Open

DOUBT ! What must be done here ? #2

Harithadxb opened this issue Mar 2, 2019 · 1 comment

Comments

@Harithadxb
Copy link

OWNED_PAGES_TOKENS = {
'jpryda': os.environ['MY_TOKEN'], # Token as an environmental variable: export MY_TOKEN = 'abc-my-token'
# 'MyPage1': 'my-hardcoded-token' # Hardcoded token
}

this code is raising the following error:
File "C:\Users\Anaconda3\lib\os.py", line 678, in getitem
raise KeyError(key) from None

@beeyatch
Copy link

Did you managed to get it working? Cheers

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

2 participants