Skip to content

Commit 0e97410

Browse files
committed
updating environ call
1 parent 8cd096f commit 0e97410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adafruit_LEDBackpack/email.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
while True:
3636

37-
newmails = int(feedparser.parse("https://" + USERNAME + ":" + PASSWORD +"@mail.google.com/gmail/feed/atom")["feed"]["fullcount"])
37+
newmails = int(feedparser.parse("https://" + os.system("echo $ENAME") + ":" + os.system("echo $EPASS") +"@mail.google.com/gmail/feed/atom")["feed"]["fullcount"])
3838

3939
if DEBUG:
4040
print "You have", newmails, "new emails!"

0 commit comments

Comments
 (0)