Skip to content

Commit

Permalink
fix it. It now works
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Oct 12, 2024
1 parent 794e03a commit 8746d19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pokemonred_puffer/sweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ def launch_sweep(
# Only one run will be scheduled at a time
suggestion = carbs.suggest()
run = sweeps.SweepRun(config={"x": {"value": suggestion.suggestion}})
sweep._step()
sweep.schedule(run)
# without this nothing updates...
sweep_obj = sweep._sweep_object_read_from_backend()
# sweep_obj = sweep._sweep_obj
sweep_obj = sweep._sweep_obj
if runs := sweep_obj["runs"]:
for run in runs:
if run["state"] == RunState.running.value:
Expand Down

0 comments on commit 8746d19

Please sign in to comment.