dfssdf
This commit is contained in:
parent
b9e9bc9954
commit
280692e2d2
2 changed files with 6 additions and 5 deletions
|
@ -107,6 +107,7 @@ if SITE == 'rdrama.net':
|
|||
RED_ID = 1577
|
||||
LAWLZ_ID = 3833
|
||||
LLM_ID = 253
|
||||
DAD_ID = 2513
|
||||
elif SITE == "pcmemes.net":
|
||||
BASEDBOT_ACCOUNT = 800
|
||||
NOTIFICATIONS_ACCOUNT = 1046
|
||||
|
@ -121,6 +122,7 @@ elif SITE == "pcmemes.net":
|
|||
RED_ID = 1577
|
||||
LAWLZ_ID = 0
|
||||
LLM_ID = 0
|
||||
DAD_ID = 0
|
||||
else:
|
||||
NOTIFICATIONS_ACCOUNT = 1
|
||||
AUTOJANNY_ACCOUNT = 2
|
||||
|
@ -134,6 +136,7 @@ else:
|
|||
RED_ID = 0
|
||||
LAWLZ_ID = 0
|
||||
LLM_ID = 0
|
||||
DAD_ID = 0
|
||||
|
||||
PUSHER_INSTANCE_ID = '02ddcc80-b8db-42be-9022-44c546b4dce6'
|
||||
PUSHER_KEY = environ.get("PUSHER_KEY", "").strip()
|
||||
|
|
|
@ -27,9 +27,9 @@ def check_for_alts(current_id):
|
|||
session["history"] = list(past_accs)
|
||||
|
||||
for past_id in session["history"]:
|
||||
|
||||
if past_id == current_id:
|
||||
continue
|
||||
|
||||
if past_id == DAD_ID or current_id == DAD_ID: break
|
||||
if past_id == current_id: continue
|
||||
|
||||
check1 = g.db.query(Alt).filter_by(
|
||||
user1=current_id, user2=past_id).first()
|
||||
|
@ -72,8 +72,6 @@ def check_for_alts(current_id):
|
|||
g.db.add(new_alt)
|
||||
g.db.flush()
|
||||
|
||||
# login post procedure
|
||||
|
||||
|
||||
@app.post("/login")
|
||||
@limiter.limit("1/second")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue