From 828a9290c536c0b254651367da4d7c45df115ca9 Mon Sep 17 00:00:00 2001 From: MinchinWeb Date: Tue, 6 Jul 2021 20:41:52 -0600 Subject: [PATCH] We need the writer class rather than an instance of the writer Further to #2882 --- pelican/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican/__init__.py b/pelican/__init__.py index 735002a2..ebc13530 100644 --- a/pelican/__init__.py +++ b/pelican/__init__.py @@ -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: