diff options
author | Bharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com> | 2024-05-15 14:47:53 +0530 |
---|---|---|
committer | Bharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com> | 2024-05-15 14:47:53 +0530 |
commit | abdbb00f3ec72bef6f5ea4d25a127fbd46592888 (patch) | |
tree | 8d8ee58623a72c08259372b1bb2d588ee30bd853 | |
parent | 3e9b949a0fe0cd5ad20fffcfc37e00fdf96685c4 (diff) |
fix: plugin(sensors) - typehint for py38
-rw-r--r-- | glances/plugins/sensors/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glances/plugins/sensors/__init__.py b/glances/plugins/sensors/__init__.py index 1815de84..8634d579 100644 --- a/glances/plugins/sensors/__init__.py +++ b/glances/plugins/sensors/__init__.py @@ -347,7 +347,7 @@ class GlancesGrabSensors(object): raise ValueError(f"Unsupported sensor_type: {self.sensor_type}") - def update(self) -> list[dict]: + def update(self) -> List[dict]: """Update the stats.""" if not self.init: return [] |