Skip to content

Commit

Permalink
break on no more maps
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Jun 22, 2024
1 parent e9ab4bb commit 0cfcc43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/api/v1/cheesegull.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ async def cheesegull_search(
category=ranked_status,
page=page,
)
if not osu_api_search_response.beatmapsets:
logging.info("Break test")
break
cheesegull_beatmapsets.extend(
[
CheesegullBeatmapset.from_osu_api_beatmapset(osu_api_beatmapset)
Expand Down

0 comments on commit 0cfcc43

Please sign in to comment.