mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 04:20:17 +00:00
String formatting improvements (#33653)
This commit is contained in:
@@ -258,7 +258,7 @@ class TensorFlowImageProcessor(ImageProcessingEntity):
|
||||
1,
|
||||
1,
|
||||
]:
|
||||
label = "{} Detection Area".format(category.capitalize())
|
||||
label = f"{category.capitalize()} Detection Area"
|
||||
draw_box(
|
||||
draw,
|
||||
self._category_areas[category],
|
||||
|
||||
Reference in New Issue
Block a user