Actually use the correct path.
This commit is contained in:
parent
cae24f11e1
commit
58513bf3b1
@ -126,7 +126,7 @@ def process_replay():
|
|||||||
print(f'Map not found @ {beatmap_file}', flush=True)
|
print(f'Map not found @ {beatmap_file}', flush=True)
|
||||||
return 400, "Map not found"
|
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)
|
kp, se = get_kp_sliders(replay, beatmap)
|
||||||
|
|
||||||
hits: Iterable[Hit] = cg.hits(replay=replay1, beatmap=cg_beatmap)
|
hits: Iterable[Hit] = cg.hits(replay=replay1, beatmap=cg_beatmap)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user