summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjan Iversen <jani@documentfoundation.org>2017-01-26 09:56:30 +0100
committerjan Iversen <jani@documentfoundation.org>2017-01-26 09:56:30 +0100
commit426092fb7addf285436eb9f487d6decbf28ae893 (patch)
tree9d61725c015369e26487b3e7ea77e7511f642930
parent27e31cd6b85bd5bb6b48eb7772c348ac00fe6e90 (diff)
esc-mentoring, solved "we_miss_you" problem
-rwxr-xr-xesc-reporting/esc-report.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/esc-reporting/esc-report.py b/esc-reporting/esc-report.py
index ee51d66..1786bbb 100755
--- a/esc-reporting/esc-report.py
+++ b/esc-reporting/esc-report.py
@@ -155,7 +155,7 @@ def report_mentoring():
for id, row in statList['people'].items():
entry = {'name': row['name'], 'email': id, 'license': row['licenseText']}
newestCommitDate = datetime.datetime.strptime(row['newestCommit'], '%Y-%m-%d')
- if newestCommitDate >= mailedDate and newestCommitDate < cfg['1monthDate']:
+ if newestCommitDate > mailedDate and newestCommitDate < cfg['3monthDate']:
myStatList['we_miss_you_email'].append(entry)
x = row['commits']['1month']['owner']
if x != 0 and row['commits']['total'] == x and not id in cfg['award-mailed']: