add preread signal

This commit is contained in:
Erik Hetzner 2012-11-14 22:12:46 -08:00
commit 6d745f32c0
2 changed files with 2 additions and 0 deletions

View file

@ -307,6 +307,7 @@ class ArticlesGenerator(Generator):
article_path,
exclude=self.settings['ARTICLE_EXCLUDES']):
try:
signals.article_generate_preread.send(self)
content, metadata = read_file(f, settings=self.settings)
except Exception, e:
logger.warning(u'Could not process %s\n%s' % (f, str(e)))