Skip to content
Permalink
Browse files
Accept PageCompiler for compiler plugins
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Oct 22, 2016
1 parent a316c54 commit 223bb2a80dd11917966f7f7e9989d069338c5df3
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/nikola.py
@@ -983,7 +983,7 @@ def init_plugins(self, commands_only=False, load_all=False):
self.disabled_compilers[p[-1].name] = p
utils.LOGGER.debug('Not loading unneeded compiler {}', p[-1].name)
if p[-1].name not in self.config['COMPILERS'] and \
p[-1].details.has_option('Nikola', 'plugincategory') and p[-1].details.get('Nikola', 'PluginCategory') == 'Compiler':
p[-1].details.has_option('Nikola', 'plugincategory') and p[-1].details.get('Nikola', 'PluginCategory') in ('Compiler', 'PageCompiler'):
bad_candidates.add(p)
self.disabled_compilers[p[-1].name] = p
utils.LOGGER.debug('Not loading unneeded compiler {}', p[-1].name)

0 comments on commit 223bb2a

Please sign in to comment.