bbb
This commit is contained in:
parent
69c37fae27
commit
b7701bfb33
1 changed files with 1 additions and 1 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 > 0, User.patron != 5).all():
|
||||
for u in g.db.query(User).filter(User.patron > 0, User.patron != 5, User.admin_level = 0).all():
|
||||
if 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