Skip to content

Commit

Permalink
updated variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
csidarous committed Jul 11, 2024
1 parent e219da3 commit 9258244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pittapi/gym.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_all_gyms_info() -> List[Gym]:
return gyms


GYM_Names = [
GYM_NAMES = [
"Baierl Rec Center",
"Bellefield Hall: Fitness Center & Weight Room",
"Bellefield Hall: Court & Dance Studio",
Expand All @@ -74,7 +74,7 @@ def get_all_gyms_info() -> List[Gym]:
def get_gym_information(gym_name: str) -> Gym:
"""Fetches the information of a singular gym as a tuple"""
info = get_all_gyms_info()
if gym_name in GYM_Names:
if gym_name in GYM_NAMES:
for gym in info:
if gym.name == gym_name:
return gym
Expand Down

0 comments on commit 9258244

Please sign in to comment.