Skip to content

Commit

Permalink
addressing #16
Browse files Browse the repository at this point in the history
  • Loading branch information
wintered committed May 7, 2021
1 parent e9d46d5 commit 8e59c08
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,8 @@

# Parse CLI
if args.SOLVER_CLIS == "":
# if len(solvers) == 0:
# print("well")
# exit("Error: no solver specified. Either change the commandline or edit config/config.py.")
if len(solvers) == 0:
exit("Error: no solver specified. Either change the commandline or edit config/config.py.")
args.SOLVER_CLIS = solvers
else: args.SOLVER_CLIS = args.SOLVER_CLIS.split(";") + solvers

Expand Down

0 comments on commit 8e59c08

Please sign in to comment.