1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #1995 from runekaagaard/devel

Fixing bug with unicode templates
This commit is contained in:
Michael DeHaan 2013-02-05 18:58:39 -08:00
commit 924e9ffe8b
2 changed files with 2 additions and 2 deletions

View file

@ -301,7 +301,7 @@ def md5s(data):
''' Return MD5 hex digest of data. ''' ''' Return MD5 hex digest of data. '''
digest = _md5() digest = _md5()
digest.update(data) digest.update(data.encode('utf-8'))
return digest.hexdigest() return digest.hexdigest()
def md5(filename): def md5(filename):

View file

@ -1,4 +1,4 @@
Are you pondering what I'm pondering? Are you pondering what I'm pøndering?
I think so Brain, but {{ answer }} I think so Brain, but {{ answer }}