Skip to content

Commit 6645491

Browse files
committed
fix: nested quotes
1 parent 1e27019 commit 6645491

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pdfbaker/document.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ def _process_pages(self, config: DocumentConfig) -> list[Path]:
135135

136136
specific_config = getattr(config, page_name, None)
137137
if specific_config:
138+
source = "Variant" if config.is_variant else "Document"
138139
self.log_debug_subsection(
139-
f'{config.is_variant and 'Variant' or 'Document'} "{config.name}" '
140-
f'provides settings for page "{page_name}"'
140+
f'{source} "{config.name}" provides settings for page "{page_name}"'
141141
)
142142
self.log_trace(specific_config)
143143
page.config = page.config.merge(specific_config)

0 commit comments

Comments
 (0)