From bbdcb3625aca989f75e83e86441ec75dde148b3a Mon Sep 17 00:00:00 2001 From: Harlan Lieberman-Berg Date: Fri, 26 Jan 2024 12:36:43 -0500 Subject: [PATCH] Correct mis-indended function definition This fixes a crash in the step 08 script that comes from not being able to find the function in the args object. --- shared_python/Args.py | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/shared_python/Args.py b/shared_python/Args.py index 8b483a1..e7b4c1f 100755 --- a/shared_python/Args.py +++ b/shared_python/Args.py @@ -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