main should return args.func(args) value.
This commit is contained in:
parent
90de78a57e
commit
6691722e7c
1 changed files with 1 additions and 1 deletions
|
@ -459,4 +459,4 @@ if __name__ == '__main__':
|
|||
parser.set_defaults(func=download_argparse)
|
||||
|
||||
args = parser.parse_args()
|
||||
args.func(args)
|
||||
return args.func(args)
|
||||
|
|
Loading…
Reference in a new issue