Skip to content

Commit

Permalink
better comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Jun 30, 2024
1 parent e40878e commit 93b5c44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/usecases/akatsuki_beatmaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ async def _update_from_osu_api(old_beatmap: AkatsukiBeatmap) -> AkatsukiBeatmap
beatmap_id=old_beatmap.beatmap_id,
)
if new_osu_api_v1_beatmap is None:
# it's now unsubmitted!
# The map has been unsubmitted by the mapper or staff
# on the official osu! servers. We'll delete it as well.
logging.info(
"Deleting unsubmitted beatmap",
extra={"beatmap": old_beatmap.model_dump()},
Expand Down

0 comments on commit 93b5c44

Please sign in to comment.