From 3e1b04e378702d370c6bea57a6d0aea73b774c1e Mon Sep 17 00:00:00 2001 From: 00magikarp <94652654+00magikarp@users.noreply.github.com> Date: Wed, 24 Jul 2024 21:34:56 -0400 Subject: [PATCH] cleanup --- scoutingapp/src/components/img/RobotImage.tsx | 2 +- scoutingapp/src/getImagesTBA.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scoutingapp/src/components/img/RobotImage.tsx b/scoutingapp/src/components/img/RobotImage.tsx index 51f8c18..2a51051 100644 --- a/scoutingapp/src/components/img/RobotImage.tsx +++ b/scoutingapp/src/components/img/RobotImage.tsx @@ -24,7 +24,7 @@ export function RobotImage(props: ComponentSetup) { } else { setComponentInside( {'Insert diff --git a/scoutingapp/src/getImagesTBA.py b/scoutingapp/src/getImagesTBA.py index a66182d..672d553 100644 --- a/scoutingapp/src/getImagesTBA.py +++ b/scoutingapp/src/getImagesTBA.py @@ -2,10 +2,10 @@ import time import requests -TBA_API_KEY = r'dS7Ml2ahEbgM5wV8mMKpHGx1Fxo9gUEgP10GersQaahJGqif0P2tHN1SBzCoPhdc' -IMGUR_CLIENT_ID = r'e6b25fcb319d82d' -IMGUR_ETAG = r'W/"12715af20eb36231834f51357e0d0690f2e54a7e"' -EVENT_KEY = r'2024cur' +TBA_API_KEY = r'' +IMGUR_CLIENT_ID = r'' +IMGUR_ETAG = r'' +EVENT_KEY = r'' if not (TBA_API_KEY and IMGUR_CLIENT_ID and IMGUR_ETAG and EVENT_KEY): raise PermissionError("Some keys are missing! Go into code and insert your keys.") @@ -27,7 +27,7 @@ } -def fetch_teams(event_key) -> list[int]: +def fetch_teams(event_key: str) -> list[int]: """ Fetch the list of teams using an event key.