Skip to content

Commit

Permalink
Add retrun fan_name to fan.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jostar Yang committed Jun 11, 2021
1 parent 7e5b86a commit bc267e4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ def get_name(self):
if not self.is_psu_fan \
else "PSU-{} FAN-{}".format(self.psu_index+1, self.fan_index+1)

return fan_name

def get_presence(self):
"""
Retrieves the presence of the PSU
Expand Down

0 comments on commit bc267e4

Please sign in to comment.