diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-04-02 16:55:59 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-04-02 16:58:51 +0100 |
| commit | bc86f042f5bdcec4bab45508eab3617d0b370741 (patch) | |
| tree | c723a67f20ef3cdae52d8a0b5cc66d92ac6f1fbd /scripts | |
| parent | 241f56dd56ccda41bcecf95fdc0e069c516ca760 (diff) | |
Rename images.inline to images.img_element
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/mammoth | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mammoth b/scripts/mammoth index 7d683ff..1194540 100644 --- a/scripts/mammoth +++ b/scripts/mammoth @@ -24,7 +24,7 @@ def main(): convert_image = None output_path = args.output else: - convert_image = mammoth.images.inline(ImageWriter(args.output_dir)) + convert_image = mammoth.images.img_element(ImageWriter(args.output_dir)) output_filename = "{0}.html".format(os.path.basename(args.path).rpartition(".")[0]) output_path = os.path.join(args.output_dir, output_filename) |
