Permalink
Browse files

fix not needing date in sms

  • Loading branch information...
1 parent 60f46d4 commit ca5534c5e8ff5323d968781a79f8174231f935b1 @atoponce committed Aug 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 email-0mq.py
View
@@ -42,7 +42,7 @@
# Change your email-to-sms address as provided by your mobile provider
fromaddr = 'weechat@irc.example.com'
toaddr = '1234567890@messaging.sprintpcs.com'
- msg = MIMEText("{0}/{1}: <{2}> {3}".format(d, server, channel, nick, message))
+ msg = MIMEText("{0}/{1}: <{2}> {3}".format(server, channel, nick, message))
msg['To'] = email.utils.formataddr(('eightyeight', toaddr))
msg['From'] = email.utils.formataddr(('WeeChat', fromaddr))

0 comments on commit ca5534c

Please sign in to comment.