forked from MarseyWorld/MarseyWorld
fix 500 error
parent
4194f29db6
commit
7f39f3a0a2
|
@ -1383,6 +1383,7 @@ class User(Base):
|
||||||
|
|
||||||
if self.patron: return True
|
if self.patron: return True
|
||||||
|
|
||||||
|
one_month_ago = time.time() - 2592000
|
||||||
if self.truescore >= TRUESCORE_MINIMUM and self.created_utc < one_month_ago:
|
if self.truescore >= TRUESCORE_MINIMUM and self.created_utc < one_month_ago:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue