Skip to content
Browse files
read_metadata typo fixes
  • Loading branch information
Kwpolska committed Feb 2, 2015
1 parent c87ffc6 commit 23426460b43973ce91a8696c5047098a2f611006
Showing 1 changed file with 2 additions and 2 deletions.
@@ -78,8 +78,8 @@ def read_metadata(self, post, file_metadata_regexp=None, unslugify_titles=False,
source = post.source_path
with, "r", encoding="utf8") as in_file:
nb_json =, current_nbformat)
# metadata shoudl always exist, but we never know
# if Someone craft an ipynb by hand.
# metadata should always exist, but we never know if
# the user crafted the ipynb by hand and did not add it.
return nb_json.get('metadata', {}).get('nikola', {})

def create_post(self, path, **kw):

0 comments on commit 2342646

Please sign in to comment.