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:54:21 UTC
[kibble] branch master updated: add in gravatar for UI
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 e4f34b5 add in gravatar for UI
e4f34b5 is described below
commit e4f34b5d352f333c1b0314156d941bd5e33265c3
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Feb 13 17:54:14 2018 +0100
add in gravatar for UI
---
api/pages/bio/newtimers.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/api/pages/bio/newtimers.py b/api/pages/bio/newtimers.py
index 41537f7..b77aa44 100644
--- a/api/pages/bio/newtimers.py
+++ b/api/pages/bio/newtimers.py
@@ -319,6 +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!
newcomers[email]['bio'] = person
newcomers_code = []
--
To stop receiving notification emails like this one, please contact
humbedooh@apache.org.