mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
We need the writer class rather than an instance of the writer
Further to #2882
This commit is contained in:
parent
ee8fb6998c
commit
828a9290c5
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ class Pelican:
|
|||
return generators
|
||||
|
||||
def _get_writer(self):
|
||||
writers = [w for _, w in signals.get_writer.send(self) if isinstance(w, type)]
|
||||
writers = [w for w, _ in signals.get_writer.send(self) if isinstance(w, type)]
|
||||
num_writers = len(writers)
|
||||
|
||||
if num_writers == 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue