Skip to content
Permalink
Browse files

Ensuring that config_dependencies is a list of strings.

  • Loading branch information
felixfontein committed Jan 20, 2015
1 parent 300c645 commit c59f5b9b6b7b811dc48b0d508b8ed0a941ef77ae
Showing with 2 additions and 2 deletions.
  1. +1 −1 nikola/plugins/compile/markdown/__init__.py
  2. +1 −1 nikola/plugins/compile/pandoc.py
@@ -64,7 +64,7 @@ def set_site(self, site):
self.extensions.append(plugin_info.plugin_object)
plugin_info.plugin_object.short_help = plugin_info.description

self.config_dependencies.append(site.config.get("MARKDOWN_EXTENSIONS"))
self.config_dependencies.append(str(sorted(site.config.get("MARKDOWN_EXTENSIONS"))))
return super(CompileMarkdown, self).set_site(site)

def compile_html(self, source, dest, is_two_file=True):
@@ -46,7 +46,7 @@ class CompilePandoc(PageCompiler):
name = "pandoc"

def set_site(self, site):
self.config_dependencies = [self.site.config['PANDOC_OPTIONS']]
self.config_dependencies = [str(self.site.config['PANDOC_OPTIONS'])]

def compile_html(self, source, dest, is_two_file=True):
makedirs(os.path.dirname(dest))

1 comment on commit c59f5b9

@Kwpolska

This comment has been minimized.

Copy link
Member

@Kwpolska Kwpolska commented on c59f5b9 Jan 21, 2015

json.dumps() would be nicer, but this doesn’t really matter here.

Please sign in to comment.