mirror of
https://github.com/simple-login/app.git
synced 2024-09-20 15:05:59 +08:00
fix cron job (#1134)
This commit is contained in:
parent
8799691f99
commit
02b39f98b7
|
@ -642,7 +642,7 @@ class User(Base, ModelMixin, UserMixin, PasswordOracle):
|
|||
if sub is None:
|
||||
return False
|
||||
|
||||
if isinstance(sub, ManualSubscription) and sub.is_giveaway():
|
||||
if isinstance(sub, ManualSubscription) and sub.is_giveaway:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue