From 57abda40c76082decb98cc7238a9905819882823 Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Fri, 17 Nov 2017 16:51:44 +0100 Subject: [PATCH] fix: use nowSec instead of the undefiend timestamp --- zmq_subscriber.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmq_subscriber.py b/zmq_subscriber.py index b4ee41e..458c4a5 100755 --- a/zmq_subscriber.py +++ b/zmq_subscriber.py @@ -143,7 +143,7 @@ def handleContribution(zmq_name, org, contribType, categ, action, pntMultiplier= 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) + users_helper.add_user_login(nowSec, org) # is a valid contribution if categ is not None: