remotes/1693045480750635534/spooky-22
Aevann1 2022-01-14 13:26:25 +02:00
parent 9c650255cf
commit 05cb5a73fd
1 changed files with 1 additions and 1 deletions

View File

@ -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, User.admin_level = 0).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