Skip to content

Commit

Permalink
no await
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueRou committed Oct 8, 2023
1 parent abb77d6 commit d6e3f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/objects/beatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async def ensure_local_osu_file(
stacktrace = app.utils.get_appropriate_stacktrace()
await app.state.services.log_strange_occurrence(stacktrace)
return False
b_beatmap = await resp.read()
b_beatmap = resp.read()
bytes_md5 = hashlib.md5(b_beatmap).hexdigest()
if (bytes_md5 in KNOWN_BAD_FILES_MD5):
return False
Expand Down

0 comments on commit d6e3f88

Please sign in to comment.