fix #2. Initialization fails with Markdown 2.5.2

This commit is contained in:
Jesús Torres 2015-01-29 00:23:45 +00:00
parent 53f0624c2d
commit 3c46395a23

View File

@ -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)