From e7f445d164b674cf93f1d1a3a083eddfe40a49ff Mon Sep 17 00:00:00 2001 From: deflax Date: Sat, 8 Feb 2025 03:06:55 +0200 Subject: [PATCH] remove status_code checker --- src/discordbot/discordbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discordbot/discordbot.py b/src/discordbot/discordbot.py index 145baa4..3a89a90 100644 --- a/src/discordbot/discordbot.py +++ b/src/discordbot/discordbot.py @@ -126,7 +126,7 @@ async def stop_error(ctx, error): async def query_playhead(): head_url = f'https://{scheduler_hostname}/playhead' try: - requests.get(head_url).status_code == 200: + #requests.get(head_url).status_code == 200 response = requests.get(head_url) response.raise_for_status() playhead = response.json()