From 0b414b090066f1a07c1c7720c7edec0e0fdfb7d9 Mon Sep 17 00:00:00 2001 From: elias Date: Sun, 7 Jun 2026 14:08:44 +0200 Subject: [PATCH] =?UTF-8?q?AstraOS=20Ver.=201.42:=20-=20Logging=20zum=20Tr?= =?UTF-8?q?acker=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AstraOS/astra_os.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AstraOS/astra_os.py b/AstraOS/astra_os.py index 4d088ad..8e28fd9 100644 --- a/AstraOS/astra_os.py +++ b/AstraOS/astra_os.py @@ -1543,6 +1543,11 @@ def get_valorant_stats(name, tag): match_mode = request.args.get('mode', 'competitive') headers = {"Authorization": VALORANT_API_KEY} + try: + add_log("Spielersuche durchgeführt", f"Spieler gesucht: {name}#{tag}") + except Exception as e: + print(f"Fehler beim Loggen der Spielersuche: {e}") + try: # 1. Account Basis-Daten acc_res = requests.get(f"{VALORANT_API_BASE}/v1/account/{name}/{tag}?force=true", headers=headers, timeout=10)