small fix
This commit is contained in:
parent
c14a219758
commit
c649e3ba09
|
@ -162,7 +162,10 @@ class User(db.Model, ModelMixin, UserMixin):
|
||||||
if self.lifetime_or_active_subscription():
|
if self.lifetime_or_active_subscription():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return self.trial_end and arrow.now() < self.trial_end
|
if self.trial_end and arrow.now() < self.trial_end:
|
||||||
|
return True
|
||||||
|
|
||||||
|
return False
|
||||||
|
|
||||||
def should_upgrade(self):
|
def should_upgrade(self):
|
||||||
return not self.lifetime_or_active_subscription()
|
return not self.lifetime_or_active_subscription()
|
||||||
|
|
Loading…
Reference in a new issue