Simplify plus submit (#15941)

* remove unused annotate file

* improve plus error messages

* formatting
This commit is contained in:
Blake Blackshear
2025-01-11 07:04:11 -07:00
committed by GitHub
parent b8a74793ca
commit c4727f19e1
12 changed files with 33 additions and 41 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ class ZoneConfig(BaseModel):
if explicit:
self.coordinates = ",".join(
[
f'{round(int(p.split(",")[0]) / frame_shape[1], 3)},{round(int(p.split(",")[1]) / frame_shape[0], 3)}'
f"{round(int(p.split(',')[0]) / frame_shape[1], 3)},{round(int(p.split(',')[1]) / frame_shape[0], 3)}"
for p in coordinates
]
)