Open Harithadxb opened 5 years ago
OWNED_PAGES_TOKENS = { 'jpryda': os.environ['MY_TOKEN'], # Token as an environmental variable: export MY_TOKEN = 'abc-my-token'
}
this code is raising the following error: File "C:\Users\Anaconda3\lib\os.py", line 678, in getitem raise KeyError(key) from None
Did you managed to get it working? Cheers
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