Skip to content

Commit

Permalink
Merge 777dc38 into 0121bb0
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcticae committed Oct 19, 2019
2 parents 0121bb0 + 777dc38 commit 95d375d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyipmi/sel.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def __str__(self):
string.append(' Event Direction: %d' % self.event_direction)
string.append(' Event Type: 0x%02x' % self.event_type)
string.append(' Event Data: %s' % array('B',
self.event_data).tolist())
self.event_data).tolist())
return "\n".join(string)

@staticmethod
Expand Down Expand Up @@ -174,5 +174,5 @@ def _from_response(self, data):
self.event_direction = EVENT_DEASSERTION
else:
self.event_direction = EVENT_ASSERTION
self.event_type = event_desc & 0x3f
self.event_data = buffer.pop_string(3)
self.event_type = event_desc & 0x7f
self.event_data = [int(i) for i in buffer.pop_string(3)]

0 comments on commit 95d375d

Please sign in to comment.