From a5b10559f133e3fcae4dc6babb5fe6a27955499a Mon Sep 17 00:00:00 2001 From: Holger Mueller Date: Thu, 21 Nov 2019 22:56:40 +0100 Subject: [PATCH] fixes --- NanoVNASaver/SITools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NanoVNASaver/SITools.py b/NanoVNASaver/SITools.py index ac89f0d..aab140d 100644 --- a/NanoVNASaver/SITools.py +++ b/NanoVNASaver/SITools.py @@ -46,8 +46,8 @@ class Value: self.fmt = fmt def __repr__(self) -> str: - return (f"{self.__class__.__name__}({self.value}, " - f"'{self._unit}', {self.fmt})") + return (f"{self.__class__.__name__}(" + repr(self._value) + + f", '{self._unit}', {self.fmt})") def __str__(self) -> str: fmt = self.fmt