From 9b97757d3bac7297e326fe86d719b518a8d46e5b Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 23 Dec 2024 16:19:58 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B9=20Feed=20the=20hobgoblins=20(delin?= =?UTF-8?q?t).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- paradocx/headerfooter.py | 4 ++-- paradocx/numbering.py | 6 ++---- paradocx/settings.py | 5 ++--- paradocx/styles.py | 2 +- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/paradocx/headerfooter.py b/paradocx/headerfooter.py index 260aa98..d6c262d 100644 --- a/paradocx/headerfooter.py +++ b/paradocx/headerfooter.py @@ -3,7 +3,7 @@ class HeaderPart(DefaultNamed, Part): content_type = ( - "application/" "vnd.openxmlformats-officedocument.wordprocessingml.header+xml" + "application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml" ) rel_type = ( "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" @@ -13,7 +13,7 @@ class HeaderPart(DefaultNamed, Part): class FooterPart(DefaultNamed, Part): content_type = ( - "application/" "vnd.openxmlformats-officedocument.wordprocessingml.footer+xml" + "application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml" ) rel_type = ( "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" diff --git a/paradocx/numbering.py b/paradocx/numbering.py index f1484cc..5c237a5 100644 --- a/paradocx/numbering.py +++ b/paradocx/numbering.py @@ -3,12 +3,10 @@ class NumberingPart(DefaultNamed, Part): content_type = ( - 'application/' - 'vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml' + 'application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml' ) rel_type = ( - 'http://schemas.openxmlformats.org' - '/officeDocument/2006/relationships/numbering' + 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering' ) default_name = '/word/numbering.xml' diff --git a/paradocx/settings.py b/paradocx/settings.py index e8ca0ab..1934406 100644 --- a/paradocx/settings.py +++ b/paradocx/settings.py @@ -3,10 +3,9 @@ class SettingsPart(DefaultNamed, Part): content_type = ( - 'application/' 'vnd.openxmlformats-officedocument.wordprocessingml.settings+xml' + 'application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml' ) rel_type = ( - 'http://schemas.openxmlformats.org' - '/officeDocument/2006/relationships/settings' + 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings' ) default_name = '/word/settings.xml' diff --git a/paradocx/styles.py b/paradocx/styles.py index 68f549f..5ce2296 100644 --- a/paradocx/styles.py +++ b/paradocx/styles.py @@ -9,7 +9,7 @@ class StylesPart(DefaultNamed, Part): content_type = ( - "application/" "vnd.openxmlformats-officedocument.wordprocessingml.styles+xml" + "application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml" ) rel_type = ( "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"