Skip to content

Commit

Permalink
Add os import to sample notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-nelson authored Nov 18, 2016
1 parent 5f43ac2 commit b3ca9dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions osmhm/send_notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import config

def send_mail(to, subject, msg):
import os
program = '/usr/sbin/sendmail'
email = os.popen("%s -t" % program, "w")
email.write("From: %s\n" % config.email_user)
Expand Down

0 comments on commit b3ca9dd

Please sign in to comment.