Fixed issue with getting of last measurement.

This commit is contained in:
jupfi 2023-08-01 15:20:26 +02:00
parent beb657df58
commit 4720896fe0

View file

@ -105,7 +105,7 @@ class BroadbandModel(ModuleModel):
Returns: Returns:
Measurement: The last completed measurement.""" Measurement: The last completed measurement."""
for frequency, measurement in self._single_frequency_measurements.items(): for frequency, measurement in reversed(self._single_frequency_measurements.items()):
if measurement is not None: if measurement is not None:
return measurement return measurement