diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-03-15 10:36:09 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-03-15 10:36:09 +0000 |
| commit | c99948a464181f4402df5b2b2f175f635b127c0c (patch) | |
| tree | c24184772310cd66a6b75d0340d1f39dfbf9541a | |
| parent | 079a61bf45b5c06ebff08ba37a989370215ef142 (diff) | |
Use function definition instead of lambda
| -rw-r--r-- | mammoth/writers/markdown.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mammoth/writers/markdown.py b/mammoth/writers/markdown.py index 9424d45..22bdf1c 100644 --- a/mammoth/writers/markdown.py +++ b/mammoth/writers/markdown.py @@ -135,7 +135,9 @@ def _init_writers(): _writers = _init_writers() _default_output = _WriterOutput("", "") -_default_writer = lambda attributes, markdown_state: _default_output + +def _default_writer(attributes, markdown_state): + return _default_output class MarkdownWriter(object): |
