From ecc3c0b72dba30b41163f5f3359df63d8a88cb8d Mon Sep 17 00:00:00 2001 From: Jeff Lindsay Date: Thu, 25 Mar 2010 18:16:12 -0700 Subject: [PATCH] fixed a potential failure in cron job --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ad43c9a..7dcdc29 100755 --- a/main.py +++ b/main.py @@ -148,7 +148,7 @@ def post(self): if not memcache.get('reset_%s' % profile.key().id()): profile.to_give = MONTHLY_POINTS profile.gave_this_month = 0 - profile.received_month = 0 + profile.received_this_month = 0 profile.put() memcache.set('reset_%s' % profile.key().id(), True, 3600*24)