From 8746d194c9d7e573ed2ead885630bd88b2e55f1d Mon Sep 17 00:00:00 2001 From: thatguy11325 <148832074+thatguy11325@users.noreply.github.com> Date: Sat, 12 Oct 2024 02:04:55 -0400 Subject: [PATCH] fix it. It now works --- pokemonred_puffer/sweep.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pokemonred_puffer/sweep.py b/pokemonred_puffer/sweep.py index c642fcc..07a2be7 100644 --- a/pokemonred_puffer/sweep.py +++ b/pokemonred_puffer/sweep.py @@ -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: