Skip to content

Commit

Permalink
Fix metrics access
Browse files Browse the repository at this point in the history
Signed-off-by: aapozd <[email protected]>
  • Loading branch information
aaletov committed May 21, 2024
1 parent ff153c7 commit 530d2a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_pcc_metric/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def __init__(
def _key(self) -> str:
if hasattr(self.metrics[0], "point_to_plane"):
return "{label}({p2plane})(symmetric)".format(
label=metrics[0].label,
label=self.metrics[0].label,
p2plane="p2plane" if self.metrics[0].point_to_plane else "p2point",
)
return self.label
Expand Down

0 comments on commit 530d2a0

Please sign in to comment.