4 ms·
Traceback (most recent call last): File "/home/runner/2320236597/main.py", line 3, in <module> from email_sender import SendEmail File "/home/runner/232
by archiewood 3y ago
Traceback (most recent call last):
File "/home/runner/2320236597/main.py", line 3, in <module>
from email_sender import SendEmail
File "/home/runner/2320236597/email_sender.py", line 7, in <module>
my_secret = os.environ['gmail_pass']
File "/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/os.py", line 680, in __getitem__
raise KeyError(key) from None
KeyError: 'gmail_pass'
- robertlagrant 3y agoSee, this is what happens when you don't commit secrets to your repo.
- syntaxing 3y agoBetter than hardcoding it
- evulhotdog 3y agoOr test before you share with the world.
- aizaddx 3y agoFixed it now, thank you.