mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 03:00:54 +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
|
||||
"""
|
||||
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:
|
||||
|
Reference in New Issue
Block a user