Skip to content

Commit

Permalink
crash mgr module: fix encoding issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bgy217 committed Oct 10, 2023
1 parent bd317e5 commit d3dd989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pybind/mgr/crash/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def calc_sig(self, bt, assert_msg):
sig.update(func.encode())
if assert_msg:
sig.update(self.sanitize_assert_msg(assert_msg).encode())
return ''.join('%02x' % ord(c) for c in sig.digest())
return ''.join('%02x' % ord(c) for c in str(sig.digest()))

# command handlers

Expand Down

0 comments on commit d3dd989

Please sign in to comment.