diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-03-28 12:40:13 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-03-28 13:29:03 +0100 |
| commit | e3250c2f7b916daf54656b0489f78e4cd1d6206c (patch) | |
| tree | db0b2083cecfe47f575ff137097526343e90227d /mammoth/conversion.py | |
| parent | d7ef4498635c54fa127348d564a8127d4aa40b51 (diff) | |
Default the ID prefix to the empty string
Diffstat (limited to 'mammoth/conversion.py')
| -rw-r--r-- | mammoth/conversion.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mammoth/conversion.py b/mammoth/conversion.py index e1e7550..8a5766c 100644 --- a/mammoth/conversion.py +++ b/mammoth/conversion.py @@ -3,7 +3,6 @@ from __future__ import unicode_literals import base64 -import random from . import documents, results, html_paths, images, writers, html, lists from .docx.files import InvalidFileReferenceError @@ -20,7 +19,7 @@ def convert_document_element_to_html(element, style_map = [] if id_prefix is None: - id_prefix = str(random.randint(0, 1000000000000000)) + id_prefix = "" if convert_image is None: convert_image = images.inline(_generate_image_attributes) |
