Skip to content
Permalink
Browse files
Fixed superfluous self.
  • Loading branch information
felixfontein committed Jul 12, 2015
1 parent 3836393 commit e8cf4acec559df66e7fe9fa05fc7babeac1a0603
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/command/import_wordpress.py
@@ -66,7 +66,7 @@ def install_plugin(site, plugin_name, output_dir=None, show_install_notes=False)
return False
if not plugin_installer_info.is_activated:
# Someone might have disabled the plugin in the `conf.py` used
self.site.plugin_manager.activatePluginByName(plugin_installer_info.name)
site.plugin_manager.activatePluginByName(plugin_installer_info.name)
plugin_installer_info.plugin_object.set_site(site)
plugin_installer = plugin_installer_info.plugin_object
# Try to install the requested plugin

0 comments on commit e8cf4ac

Please sign in to comment.