diff options
| author | Michael Williamson <mike@zwobble.org> | 2017-09-06 20:11:15 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2017-09-06 20:11:15 +0100 |
| commit | 944e68cd850cba6757ba4bc1e5b1e426a7fc1f02 (patch) | |
| tree | 81e19369402667fdf236c21ee02430de0284a0f9 /recipes/wmf_images.py | |
| parent | 2da325b72414ef43b3db9713b1c46d97685171bb (diff) | |
Fix comment in recipe
Diffstat (limited to 'recipes/wmf_images.py')
| -rw-r--r-- | recipes/wmf_images.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/recipes/wmf_images.py b/recipes/wmf_images.py index afea437..3b38bce 100644 --- a/recipes/wmf_images.py +++ b/recipes/wmf_images.py @@ -23,15 +23,7 @@ import tempfile # # # fileobj = open("document.docx", "rb") -# result = mammoth.convert_to_html( -# fileobj, -# convert_image=compose( -# mammoth.images.data_uri, -# libreoffice_wmf_conversion(post_process=imagemagick_trim), -# ), -# ) -# -# libreoffice_wmf_conversion uses LibreOffice to convert the image +# result = mammoth.convert_to_html(fileobj, convert_image=convert_image) _wmf_extensions = { |
