Skip to content

Commit

Permalink
Bugfix: Python3 compat - string required instead of bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Maryniuk committed Apr 9, 2018
1 parent 00e66fc commit bf41ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/utils/hashutils.py
Expand Up @@ -199,4 +199,4 @@ def digest(self):
:return:
'''

return salt.utils.stringutils.to_bytes(self.__digest.hexdigest() + os.linesep)
return salt.utils.stringutils.to_str(self.__digest.hexdigest() + os.linesep)

0 comments on commit bf41ffb

Please sign in to comment.