Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
00magikarp committed Jul 25, 2024
1 parent edb3274 commit 3e1b04e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scoutingapp/src/components/img/RobotImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function RobotImage(props: ComponentSetup) {
} else {
setComponentInside(
<img
style={{ width: "50%", height: "50%", alignItems: 'center', justifyContent: 'center', margin: "auto"}}
style={{ height: "300px", alignItems: 'center', justifyContent: 'center', margin: "auto"}}
src={`./src/components/img/gray.png`}
alt={'Insert robot number above'}
/>
Expand Down
10 changes: 5 additions & 5 deletions scoutingapp/src/getImagesTBA.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand All @@ -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.
Expand Down

0 comments on commit 3e1b04e

Please sign in to comment.