From 7501985e5782bcf62e3603162fea69ac74682dd7 Mon Sep 17 00:00:00 2001 From: Harlan Lieberman-Berg Date: Sat, 27 Jan 2024 08:42:40 +0000 Subject: [PATCH] Correct mis-indended function definition (#78) --- shared_python/Args.py | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/shared_python/Args.py b/shared_python/Args.py index 8b483a1..b543b99 100755 --- a/shared_python/Args.py +++ b/shared_python/Args.py @@ -257,14 +257,15 @@ 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