make it pass tests (planviews)
This commit is contained in:
@@ -85,7 +85,7 @@ def is_plantrial(user):
|
||||
except AttributeError:
|
||||
return False
|
||||
|
||||
if r.rowerplan == 'basic':
|
||||
if r.rowerplan in ['basic','pro']:
|
||||
return r.plantrialexpires >= datetime.date.today()
|
||||
if r.rowerplan == 'freecoach':
|
||||
if r.mycoachgroup is not None:
|
||||
|
||||
Reference in New Issue
Block a user