From 9ca8ce4c3f7492f2b4bb27dcc41656a4e99fc84d Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Sat, 6 Jul 2024 15:39:09 +0200 Subject: [PATCH] (2d) f-string --- .../src/people_recognition_2d/people_recognizer_2d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/people_recognition_2d/src/people_recognition_2d/people_recognizer_2d.py b/people_recognition_2d/src/people_recognition_2d/people_recognizer_2d.py index 1b11050..2793db4 100644 --- a/people_recognition_2d/src/people_recognition_2d/people_recognizer_2d.py +++ b/people_recognition_2d/src/people_recognition_2d/people_recognizer_2d.py @@ -216,7 +216,7 @@ def _object_colors_to_label(object_colors, object_name): """ label = f" {object_name} colors:" for color in object_colors: - label += " {}".format(color) + label += f" {color}" return label @staticmethod