Skip to content

Commit

Permalink
Correct mis-indended function definition
Browse files Browse the repository at this point in the history
This fixes a crash in the step 08 script that comes from not being able
to find the function in the args object.
  • Loading branch information
hlieberman committed Jan 26, 2024
1 parent 48d1828 commit bbdcb36
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions shared_python/Args.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,14 +257,13 @@ def args_for_07(self):
self._print_args(self.args)
return self.args


def args_for_08(self):
if self.args.output_database is None:
self.args.output_database = input(
'Name of the database the final tables should be created in (default "od_sgf"):'
)
self.args.output_database = (
"od_sgf" if self.args.output_database == "" else self.args.output_database
)
self._print_args(self.args)
return self.args
def args_for_08(self):
if self.args.output_database is None:
self.args.output_database = input(
'Name of the database the final tables should be created in (default "od_sgf"):'
)
self.args.output_database = (
"od_sgf" if self.args.output_database == "" else self.args.output_database
)
self._print_args(self.args)
return self.args

0 comments on commit bbdcb36

Please sign in to comment.