misc: fix missing-parentheses-for-call-in-test pylint error (#56288)

This commit is contained in:
Lauréline Guérin 2021-08-30 11:22:55 +02:00
parent 7a96ec095e
commit 9ce912f39b
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ class ChartNgCell(CellBase):
chart.compute_sum = bool(response.get('measure') == 'integer' and chart.axis_count > 0)
formatter = self.get_value_formatter(response.get('unit'), response.get('measure'))
if formatter:
if formatter is not None:
chart.config.value_formatter = formatter
return x_labels, y_labels, data