Fix failure in py3

This commit is contained in:
Takeshi KOMIYA
2016-04-14 12:05:13 +09:00
parent c3fe96f6fc
commit 13c814adc3

View File

@@ -38,7 +38,7 @@ def wrap_displaymath(math, label, numbering):
labeldef = r'\label{%s}' % label
numbering = True
parts = filter(is_equation, math.split('\n\n'))
parts = list(filter(is_equation, math.split('\n\n')))
equations = []
if len(parts) == 0:
return ''