String formatting improvements (#33635)

* String formatting improvements

* Found another one
This commit is contained in:
Franck Nijhof 2020-04-04 18:21:14 +02:00 committed by GitHub
parent 025cce3445
commit e8a0abd107
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 52 additions and 56 deletions

View file

@ -132,7 +132,7 @@ class OpenCVImageProcessor(ImageProcessingEntity):
if name:
self._name = name
else:
self._name = "OpenCV {0}".format(split_entity_id(camera_entity)[1])
self._name = "OpenCV {}".format(split_entity_id(camera_entity)[1])
self._classifiers = classifiers
self._matches = {}
self._total_matches = 0