ignore no teams.json file

This commit is contained in:
SowinskiBraeden committed 2025-03-21 09:55:09 -07:00
1 parent 0c8120a9a5
commit 9eb4ffce7f
1 file changed
+3
+3
View File
@@ -60,8 +60,11 @@ async def getInsights(repoURL: str, attempt: int = 0) -> Dict[str, str|None] | N
async def main() -> None:
teamsOriginal: List[Dict] = []
try:
with open("teams.json", "r") as file:
teamsOriginal = json.load(file)
except FileNotFoundError:
pass
teams: List[Dict] = []