Merge branch 'users' into trendings

pull/9/head
Sami Mokaddem 2017-11-17 16:06:36 +01:00
commit f7df04b9bf
1 changed files with 3 additions and 0 deletions

View File

@ -144,6 +144,9 @@ def handleContribution(zmq_name, org, contribType, categ, action, pntMultiplier=
nowSec = int(time.time())
pnts_to_add = DEFAULT_PNTS_REWARD
# if there is a contribution, there is a login (even if ti comes from the API)
users_helper.add_user_login(timestamp, org)
# is a valid contribution
if categ is not None:
try: