trial bug fixed
This commit is contained in:
@@ -385,7 +385,9 @@ def isprorower(r):
|
||||
result = False
|
||||
result = r.rowerplan in ['pro','coach','plan']
|
||||
if not result and r.protrialexpires:
|
||||
result = r.rowerplan is 'basic' and r.protrialexpires >= datetime.date.today()
|
||||
result = r.rowerplan == 'basic' and r.protrialexpires >= datetime.date.today()
|
||||
print r.rowerplan,r.protrialexpires,datetime.date.today(),result
|
||||
print r.protrialexpires >= datetime.date.today()
|
||||
|
||||
return result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user