Skip to content
Permalink
Browse files
MAke tests pass
  • Loading branch information
ralsina committed Mar 18, 2018
1 parent 5e84a44 commit 3b695e5f13bd54dad9a7808148644a82ff3c1cb6
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/compile/markdown/__init__.py
@@ -152,7 +152,7 @@ def create_post(self, path, **kw):

def read_metadata(self, post, lang=None):
"""Read the metadata from a post, and return a metadata dict."""
lang = lang or self.site.config['DEFAULT_LANGUAGE']
lang = lang or self.site.config.get('DEFAULT_LANGUAGE', 'en')
if not self.supports_metadata:
return {}
if Markdown is None:

0 comments on commit 3b695e5

Please sign in to comment.