We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8593b6b commit dda086aCopy full SHA for dda086a
Adafruit_LEDBackpack/email.py
@@ -7,9 +7,10 @@
7
from Adafruit_8x8 import ColorEightByEight
8
9
DEBUG = 1
10
-
11
-USERNAME = '"'+os.system("echo $ENAME")+'"' # just the part before the @ sign, add yours here
12
-PASSWORD = '"'+os.system("echo $EPASS")+'"'
+os.system("echo $ENAME")
+os.system("echo $EPASS")
+USERNAME = os.environ["ENAME"] # just the part before the @ sign, add yours here
13
+PASSWORD = os.environ["EPASS"]
14
15
NEWMAIL_OFFSET = 0 # my unread messages never goes to zero, yours might
16
MAIL_CHECK_FREQ = 30 # check mail every 60 seconds
0 commit comments