due at fix 2
This commit is contained in:
@ -6,8 +6,10 @@ import datetime
|
||||
def perform(dbh, params):
|
||||
try:
|
||||
createdAt = params['created_at']
|
||||
dueAt = createdAt.replace(day=1)
|
||||
except KeyError:
|
||||
createdAt = datetime.datetime.today().strftime("%Y-%m-%d")
|
||||
dueAt = createdAt.replace(day=1)
|
||||
|
||||
tenants = dbGetMany(dbh, { "statement": "SELECT * FROM tenant_t", "params": () })
|
||||
for tenant in tenants:
|
||||
|
Reference in New Issue
Block a user