digest: send e-mails on Fridays.

(imported from commit 2080b98b4d67cfdefa124e2115b2c67b8ef975ce)
This commit is contained in:
Jessica McKellar
2014-01-06 16:05:44 -05:00
parent c045644097
commit b082c99267

View File

@@ -23,7 +23,7 @@ logger.setLevel(logging.DEBUG)
logger.addHandler(file_handler)
VALID_DIGEST_DAYS = (1, 2, 3)
VALID_DIGEST_DAYS = (1, 2, 3, 4)
def inactive_since(user_profile, cutoff):
# Hasn't used the app in the last 24 business-day hours.
most_recent_visit = [row.last_visit for row in \