From 329e9277bd77b3bed671bc03778eef3e857e03d6 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 20 Aug 2015 21:23:35 +0100 Subject: Fix Python 3 support --- mammoth/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mammoth') diff --git a/mammoth/options.py b/mammoth/options.py index 1909b86..ca40f77 100644 --- a/mammoth/options.py +++ b/mammoth/options.py @@ -14,7 +14,7 @@ def read_options(options): def _read_style_map(style_text): lines = filter(None, map(_get_line, style_text.split("\n"))) return results.combine(lists.map(style_reader.read_style, lines)) \ - .map(lambda style_mappings: filter(None, style_mappings)) + .map(lambda style_mappings: lists.filter(None, style_mappings)) def _get_line(line): -- cgit v1.2.3