Skip to content

Commit

Permalink
sensors_fans is not available on MacOS (#1710)
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky authored Mar 4, 2020
1 parent 544e9da commit ea4887e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ Sensors

See also `fans.py`_ and `sensors.py`_ for an example application.

Availability: Linux, macOS
Availability: Linux

.. versionadded:: 5.2.0

Expand Down
2 changes: 1 addition & 1 deletion psutil/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2260,7 +2260,7 @@ def convert(n):
__all__.append("sensors_temperatures")


# Linux, macOS
# Linux
if hasattr(_psplatform, "sensors_fans"):

def sensors_fans():
Expand Down

0 comments on commit ea4887e

Please sign in to comment.