fix critical typo

This commit is contained in:
urlbot
2014-09-21 19:52:49 +02:00
parent ab5f211345
commit 2295a8e1a8

View File

@@ -96,7 +96,7 @@ def extract_title(url):
try:
match = match.decode(charset)
except LookupError:
logger('warn', 'invalid charset in ' + header['content-type'])
logger('warn', 'invalid charset in ' + headers['content-type'])
try:
expanded_html = parser.unescape(match)