Skip to content

Commit

Permalink
fix: plugin(sensors) - typehint for py38
Browse files Browse the repository at this point in the history
  • Loading branch information
RazCrimson committed May 15, 2024
1 parent 0447e21 commit d94b0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glances/plugins/sensors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def __fetch_psutil(self) -> Dict[str, list]:

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 []
Expand Down

0 comments on commit d94b0b4

Please sign in to comment.