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"