We need the writer class rather than an instance of the writer

Further to #2882
This commit is contained in:
MinchinWeb 2021-07-06 20:41:52 -06:00
commit 828a9290c5

View file

@ -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: