diff --git a/scripts/invoke.py b/scripts/invoke.py index d7ea508fd8..b393ea9d20 100755 --- a/scripts/invoke.py +++ b/scripts/invoke.py @@ -214,9 +214,9 @@ def main_loop(gen, opt): # retrieve previous value of seed if requested # Exception: for postprocess operations negative seed values - # mean "discard the original seed and generate a new one" - # (this is a non-obvious hack and needs to be reworked) - if opt.seed is not None and opt.seed < 0 and operation != 'postprocess': + # mean "discard the original seed and generate a new one" + # (this is a non-obvious hack and needs to be reworked) + if opt.seed is not None and opt.seed < 0 and operation != 'postprocess': try: opt.seed = last_results[opt.seed][1] print(f'>> Reusing previous seed {opt.seed}')