actually remove all logger() occurrences

This commit is contained in:
urlbot
2015-06-21 01:31:55 +02:00
parent 32e2d15581
commit 3f6c478586
3 changed files with 6 additions and 8 deletions

View File

@@ -61,7 +61,7 @@ def extract_title(url):
if html_text:
charset = ''
if 'content-type' in headers:
logger('debug', 'content-type: ' + headers['content-type'])
log.debug('content-type: ' + headers['content-type'])
if 'text/' != headers['content-type'][:len('text/')]:
return (1, headers['content-type'])