Accept more types as "text" before readability

master
pictuga 2013-10-01 19:47:06 +02:00
parent 78706952fe
commit e3c1cd8619
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ def Fill(item, cache, feedurl='/', fast=False):
cache.set(link, 'error-http')
return True
if con.info().maintype != 'text':
if con.info().type not in MIMETYPE['html'] and con.info().type != 'text/plain':
log('non-text page')
cache.set(link, 'error-type')
return True