mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 19:20:55 +00:00
Change logger.info in labelTemplate.print to use f-string, correct the order of arguments (#9855)
This commit is contained in:
@ -711,10 +711,7 @@ class LabelTemplate(TemplateUploadMixin, ReportTemplateBase):
|
|||||||
ValidationError: If there is an error during label printing
|
ValidationError: If there is an error during label printing
|
||||||
"""
|
"""
|
||||||
logger.info(
|
logger.info(
|
||||||
"Printing %s labels against template '%s' using plugin '%s'",
|
f"Printing {len(items)} labels against template '{self.name}' using plugin '{plugin.slug}'"
|
||||||
len(items),
|
|
||||||
plugin.slug,
|
|
||||||
self.name,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if not output:
|
if not output:
|
||||||
|
Reference in New Issue
Block a user