From 0ac85b3192b768233f2e4326d47a069fda3de08a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 26 May 2022 22:14:47 +0200 Subject: [PATCH] fsd --- files/routes/admin.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/routes/admin.py b/files/routes/admin.py index cdb4c65f0..c801231c9 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -18,6 +18,7 @@ from files.helpers.discord import add_role from datetime import datetime import requests from urllib.parse import quote, urlencode +import httpagentparser GUMROAD_ID = environ.get("GUMROAD_ID", "tfcvri").strip() GUMROAD_TOKEN = environ.get("GUMROAD_TOKEN", "").strip() @@ -939,6 +940,9 @@ def admin_removed(v): @app.get("/admin/removed/comments") @admin_level_required(2) def admin_removed_comments(v): + + + print(request.headers, flush=true) try: page = int(request.values.get("page", 1)) except: page = 1