Skip to content

Commit 074b1ac

Browse files
committed
fix set_script_args
1 parent b037d4f commit 074b1ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python150k/preprocess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def set_script_arguments(parser):
341341
type=str,
342342
default="parsed",
343343
help="Parsing data.")
344-
return main_args
344+
return
345345

346346

347347
def main(args):
@@ -426,7 +426,7 @@ def main(args):
426426
parser = argparse.ArgumentParser(
427427
'Python150k preprocess script',
428428
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
429-
parser = set_script_arguments(parser)
429+
set_script_arguments(parser)
430430
args, unknown = parser.parse_known_args()
431431
print(args)
432432
main(args)

0 commit comments

Comments
 (0)