Skip to content

Commit

Permalink
Fix #3736 — fix nikola plugin not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwpolska committed Jan 11, 2024
1 parent 881d8bb commit cec44ae
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
New in master
=============

Features
--------

Bugfixes
--------

* Fix the ``nikola plugin`` command not working (Issue #3736)

New in v8.3.0
=============

Expand Down
7 changes: 5 additions & 2 deletions nikola/nikola.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,8 +1057,11 @@ def init_plugins(self, commands_only=False, load_all=False):
self.disabled_compiler_extensions = defaultdict(list)

candidates = self.plugin_manager.locate_plugins()
good_candidates = set()
if not load_all:

if load_all:
good_candidates = set(candidates)
else:
good_candidates = set()
for p in candidates:
if commands_only:
if p.category != 'Command':
Expand Down

0 comments on commit cec44ae

Please sign in to comment.