Correctly initialize the feature list

pull/130/head
Rune Broberg 2020-01-09 16:47:28 +01:00
rodzic 67c1b5c551
commit f922a2e70e
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -234,6 +234,8 @@ class NanoVNA(VNA):
super().__init__(app, serial_port)
self.version = Version(self.readVersion())
self.features = []
logger.debug("Testing against 0.2.0")
if self.version.version_string.find("extended with scan") > 0:
logger.debug("Incompatible scan command detected.")