bb
This commit is contained in:
parent
c509e2ef1c
commit
8d8135615b
2 changed files with 5 additions and 5 deletions
|
@ -207,7 +207,7 @@ def monthly(v):
|
|||
|
||||
emails = [x['email'] for x in requests.get(f'https://api.gumroad.com/v2/products/{GUMROAD_ID}/subscribers', data=data, timeout=5).json()["subscribers"]]
|
||||
|
||||
for u in g.db.query(User).filter(User.patron).all():
|
||||
for u in g.db.query(User).filter(User.patron > 0).all():
|
||||
if u.patron == 5 or u.email and u.email.lower() in emails or u.id == 1379:
|
||||
if u.patron == 1: procoins = 2500
|
||||
elif u.patron == 2: procoins = 5000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue