Actually use the correct path.

This commit is contained in:
nise.moe 2024-02-16 06:20:42 +01:00
parent cae24f11e1
commit 58513bf3b1

View File

@ -126,7 +126,7 @@ def process_replay():
print(f'Map not found @ {beatmap_file}', flush=True)
return 400, "Map not found"
beatmap = BeatmapOsu(f'dbs/{cg_beatmap.artist} - {cg_beatmap.title} ({cg_beatmap.creator})[{cg_beatmap.version}].osu')
beatmap = BeatmapOsu(beatmap_file)
kp, se = get_kp_sliders(replay, beatmap)
hits: Iterable[Hit] = cg.hits(replay=replay1, beatmap=cg_beatmap)