Skip to content
Permalink
Browse files

fix #1868

  • Loading branch information
ralsina committed Jul 7, 2015
1 parent c8f7a6a commit 9a4704efb71115e52a7736a81def38623581948b
Showing with 3 additions and 2 deletions.
  1. +1 −0 CHANGES.txt
  2. +2 −2 nikola/nikola.py
@@ -11,6 +11,7 @@ Features
Bugfixes
--------

* Don't use deprecated Yapsy methods (Isue #1868)
* Surpress wincing when auto is aborted during rebuilding
* Show tags only from the current language on tag listing pages (Issue #1856)
* Remove gap between line numbers and code (Issue #1859)
@@ -677,7 +677,7 @@ def __init__(self, **config):
"ConfigPlugin": ConfigPlugin,
"PostScanner": PostScanner,
})
self.plugin_manager.setPluginInfoExtension('plugin')
self.plugin_manager.getPluginLocator().setPluginInfoExtension('plugin')
extra_plugins_dirs = self.config['EXTRA_PLUGINS_DIRS']
if sys.version_info[0] == 3:
places = [
@@ -692,7 +692,7 @@ def __init__(self, **config):
os.path.expanduser('~/.nikola/plugins'),
] + [utils.sys_encode(path) for path in extra_plugins_dirs if path]

self.plugin_manager.setPluginPlaces(places)
self.plugin_manager.getPluginLocator().setPluginPlaces(places)
self.plugin_manager.collectPlugins()

self._activate_plugins_of_category("SignalHandler")

0 comments on commit 9a4704e

Please sign in to comment.