mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add feed_written signal
This commit is contained in:
parent
2b130fb4dd
commit
0093984861
3 changed files with 4 additions and 0 deletions
|
|
@ -121,6 +121,8 @@ class Writer(object):
|
|||
with self._open_w(complete_path, encoding) as fp:
|
||||
feed.write(fp, 'utf-8')
|
||||
logger.info('Writing %s', complete_path)
|
||||
|
||||
signals.feed_written.send(complete_path, context=context, feed=feed)
|
||||
return feed
|
||||
finally:
|
||||
locale.setlocale(locale.LC_ALL, old_locale)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue