summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-04-02 16:55:59 +0100
committerMichael Williamson <mike@zwobble.org>2016-04-02 16:58:51 +0100
commitbc86f042f5bdcec4bab45508eab3617d0b370741 (patch)
treec723a67f20ef3cdae52d8a0b5cc66d92ac6f1fbd /scripts
parent241f56dd56ccda41bcecf95fdc0e069c516ca760 (diff)
Rename images.inline to images.img_element
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mammoth2
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)