Fixed typo (stmp -> smtp)

This commit is contained in:
Maximilian Gass 2009-07-24 15:01:50 +02:00
parent 743cb0f08b
commit a328abe745
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ if cname and ctext and ctitle:
if new_comment_mail:
msg = 'From: Blogthon\nSubject: New comment on ' + blog_title + '\n\nSomeone wrote a comment to this entry: ' + blog_url + '?p=' + re.sub(' ', '-', ctitle)
smtp = smtplib.SMTP(smtp_host)
if smtp_user != '' and stmp_pass != '':
if smtp_user != '' and smtp_pass != '':
smtp.login(smtp_user, smtp_pass)
smtp.sendmail(blog_title, mail_to, msg)
smtp.quit()