Skip to content

Commit

Permalink
fixed compatibility with Python Markdown 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
FND committed Jan 27, 2015
1 parent b2f6d51 commit a8203b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion markdown_checklist/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@


def makeExtension(configs=None):
return ChecklistExtension(configs=configs)
if configs is None:
return ChecklistExtension()
else:
return ChecklistExtension(configs=configs)


class ChecklistExtension(Extension):
Expand Down

0 comments on commit a8203b3

Please sign in to comment.