Merge pull request #3 from aplatanado/master

fix #2. Initialization fails with Markdown 2.5.2
This commit is contained in:
joachimneu 2015-01-29 01:38:04 +01:00
commit 0728c589ad

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)