From b6287a6db77e48313b2ae6bb52b998048544db27 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Mon, 3 Jan 2022 10:11:05 -0500 Subject: cleanup warning: was using non existing variable name --- qolab/hardware/scpi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qolab/hardware/scpi.py b/qolab/hardware/scpi.py index 8d7248d..3617d05 100644 --- a/qolab/hardware/scpi.py +++ b/qolab/hardware/scpi.py @@ -96,7 +96,7 @@ class SCPI_PROPERTY(property): logger.debug(msg) owner.tsdb_ingester.append(ts_ms, measurement=measurement, tags=tags, **fields) except ValueError as err: - logger.error(f'{err=} in function {f.__name__}: {var_name} = {val}') + logger.error(f'{err=}: cannot log to TSDB {var_name} = {val}') def get_scpi(self, owner): -- cgit v1.2.3