Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mzuenni committed Mar 1, 2024
1 parent a528e2c commit 11fde73
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bin/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1683,12 +1683,12 @@ def generate(problem):
gen_config.add()
return True

assert config.args.action == 'generate'
if not gen_config.has_yaml:
error('Did not find generators/generators.yaml')
if config.args.action == 'generate':
if not gen_config.has_yaml:
error('Did not find generators/generators.yaml')

gen_config.build()
gen_config.run()
gen_config.build()
gen_config.run()
return True


Expand Down

0 comments on commit 11fde73

Please sign in to comment.