Skip to content

Commit 33c8172

Browse files
committed
Minor logging changes
1 parent 9be8150 commit 33c8172

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/scrapers/sis_scraper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ async def main(start_year: int, end_year: int, seasons: list[str] = None) -> boo
308308
f"\tSeasons: {', '.join(season.capitalize() for season in seasons)}"
309309
)
310310

311-
print("Fetching subject name to code mapping...")
311+
print("Fetching subject name to code mapping")
312312
async with aiohttp.ClientSession() as session:
313313
subject_name_code_map = await get_subject_name_code_map(
314314
session, seasons=seasons
@@ -340,7 +340,9 @@ async def main(start_year: int, end_year: int, seasons: list[str] = None) -> boo
340340
return False
341341

342342
end_time = time.time()
343-
print(f"Total time elapsed: {end_time - start_time:.2f} seconds")
343+
print(
344+
"SIS scraper completed\n" f"\tTime elapsed: {end_time - start_time:.2f} seconds"
345+
)
344346

345347
return True
346348

0 commit comments

Comments
 (0)