Bugfix: Python3 compat - string required instead of bytes

This commit is contained in:
Bo Maryniuk 2018-04-09 13:57:37 +02:00
parent 00e66fcbec
commit bf41ffbf88

View File

@ -199,4 +199,4 @@ class DigestCollector(object):
:return:
'''
return salt.utils.stringutils.to_bytes(self.__digest.hexdigest() + os.linesep)
return salt.utils.stringutils.to_str(self.__digest.hexdigest() + os.linesep)