aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mammoth/conversion.py2
-rw-r--r--mammoth/docx/style_map.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mammoth/conversion.py b/mammoth/conversion.py
index fa07d03..2c2afa6 100644
--- a/mammoth/conversion.py
+++ b/mammoth/conversion.py
@@ -182,7 +182,7 @@ class _DocumentConverter(documents.ElementVisitor):
return [html.self_closing_element("br")]
def visit_note_reference(self, note_reference):
- self._note_references.append(note_reference);
+ self._note_references.append(note_reference)
note_number = len(self._note_references)
return [
html.element("sup", {}, [
diff --git a/mammoth/docx/style_map.py b/mammoth/docx/style_map.py
index bf851e9..5fce16b 100644
--- a/mammoth/docx/style_map.py
+++ b/mammoth/docx/style_map.py
@@ -21,7 +21,7 @@ def write_style_map(fileobj, style_map):
})
def _generate_relationships_xml(relationships_xml):
- schema = "http://schemas.zwobble.org/mammoth/style-map";
+ schema = "http://schemas.zwobble.org/mammoth/style-map"
relationships_uri = "http://schemas.openxmlformats.org/package/2006/relationships"
relationship_element_name = "{" + relationships_uri + "}Relationship"