Commit 924e9ffe by Michael DeHaan

Merge pull request #1995 from runekaagaard/devel

Fixing bug with unicode templates
parents c1b63d15 7a8b27f7
......@@ -301,7 +301,7 @@ def md5s(data):
''' Return MD5 hex digest of data. '''
digest = _md5()
digest.update(data)
digest.update(data.encode('utf-8'))
return digest.hexdigest()
def md5(filename):
......
Are you pondering what I'm pondering?
Are you pondering what I'm pøndering?
I think so Brain, but {{ answer }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment