diff --git a/config/services/hydra/remote-eval-jobs.py b/config/services/hydra/remote-eval-jobs.py index c8d0489d..73b84ac1 100644 --- a/config/services/hydra/remote-eval-jobs.py +++ b/config/services/hydra/remote-eval-jobs.py @@ -23,11 +23,11 @@ gcroots = None for arg in sys.argv[1:]: if arg == "--gc-roots-dir" or arg == "--max-jobs" or arg == "--workers": skip_next = 2 - if arg == "--gc-roots-dir": - next_to_gcroots = True if next_to_gcroots: next_to_gcroots = False gcroots = arg + if arg == "--gc-roots-dir": + next_to_gcroots = True if skip_next > 0: skip_next -= 1 continue