small improvement
This commit is contained in:
@@ -22,6 +22,9 @@ def getexpired():
|
||||
if r.planexpires < datetime.datetime.now().date():
|
||||
if r.rowerplan == 'pro' or r.rowerplan == 'coach':
|
||||
lijst.append(r)
|
||||
if r.teamplanexpires < datetime.datetime.now().date():
|
||||
if r.rowerplan == 'pro' or r.rowerplan == 'coach':
|
||||
lijst.append(r)
|
||||
return lijst
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user