remotes/1693045480750635534/spooky-22
Aevann1 2021-07-21 18:21:43 +02:00
parent 551317f860
commit 74b50d42dd
1 changed files with 3 additions and 5 deletions

View File

@ -388,7 +388,7 @@ def archiveorg(url):
except Exception as e: print(e) except Exception as e: print(e)
def sex(lex): def sex():
for u in g.db.query(User).filter(User.profileurl != None).all(): for u in g.db.query(User).filter(User.profileurl != None).all():
print(f"1 {u.profileurl}") print(f"1 {u.profileurl}")
x = requests.get(u.profileurl) x = requests.get(u.profileurl)
@ -404,10 +404,8 @@ def sex(lex):
@app.route("/admin/resize", methods=["GET"]) @app.route("/admin/resize", methods=["GET"])
@admin_level_required(6) def resize():
def resize(v): gevent.spawn(sex)
lex = ""
gevent.spawn(sex, lex)
return "sex" return "sex"
@app.route("/submit", methods=['POST']) @app.route("/submit", methods=['POST'])