You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2018/02/13 16:55:11 UTC

[kibble] branch master updated: we need the digest >_>

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git


The following commit(s) were added to refs/heads/master by this push:
     new dba51ef  we need the digest >_>
dba51ef is described below

commit dba51ef17015b226e37caa52961f86b2f8b391c9
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Feb 13 17:55:03 2018 +0100

    we need the digest >_>
---
 api/pages/bio/newtimers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/pages/bio/newtimers.py b/api/pages/bio/newtimers.py
index b77aa44..12245f1 100644
--- a/api/pages/bio/newtimers.py
+++ b/api/pages/bio/newtimers.py
@@ -319,7 +319,7 @@ def run(API, environ, indata, session):
         person = {}
         if session.DB.ES.exists(index=session.DB.dbname, doc_type="person", id = pid):
             person = session.DB.ES.get(index=session.DB.dbname, doc_type="person", id = pid)['_source']
-        person['md5'] = hashlib.md5(person['email'].encode('utf-8')) # gravatar needed for UI!
+        person['md5'] = hashlib.md5(person['email'].encode('utf-8')).hexdigest() # gravatar needed for UI!
         newcomers[email]['bio'] = person
     
     newcomers_code = []

-- 
To stop receiving notification emails like this one, please contact
humbedooh@apache.org.