From 3c46395a237fef433cb85317162b9590864cd81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Torres?= Date: Thu, 29 Jan 2015 00:23:45 +0000 Subject: [PATCH] fix #2. Initialization fails with Markdown 2.5.2 --- md_yaml/mdx_meta_yaml/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/md_yaml/mdx_meta_yaml/__init__.py b/md_yaml/mdx_meta_yaml/__init__.py index cd0229f..16d8309 100644 --- a/md_yaml/mdx_meta_yaml/__init__.py +++ b/md_yaml/mdx_meta_yaml/__init__.py @@ -5,4 +5,6 @@ from mdx_meta_yaml.extension import MetaYamlExtension def makeExtension(configs=None): if isinstance(configs, list): configs = dict(configs) + elif configs is None: + configs = {} return MetaYamlExtension(configs=configs)