Change logger.info in labelTemplate.print to use f-string, correct the order of arguments (#9855)

This commit is contained in:
miggland 2025-06-25 13:10:23 +02:00 committed by GitHub
parent 6915ed52c9
commit 6811132e30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 4 deletions

View File

@ -711,10 +711,7 @@ class LabelTemplate(TemplateUploadMixin, ReportTemplateBase):
ValidationError: If there is an error during label printing
"""
logger.info(
"Printing %s labels against template '%s' using plugin '%s'",
len(items),
plugin.slug,
self.name,
f"Printing {len(items)} labels against template '{self.name}' using plugin '{plugin.slug}'"
)
if not output: