bug fix
This commit is contained in:
parent
e599740ac9
commit
77c599dded
|
@ -104,7 +104,6 @@ if __name__ == "__main__":
|
|||
collection_name="ssj"
|
||||
)
|
||||
|
||||
sys.exit()
|
||||
# parse kres
|
||||
logger.info("Parsing Kres: {}".format(args.ssj_file))
|
||||
kres_parser = Parser(
|
||||
|
@ -116,7 +115,7 @@ if __name__ == "__main__":
|
|||
kres_to_json_files(kres_parser.sentence_generator(), args.outdir)
|
||||
elif args.output == "db":
|
||||
data_to_valdb(
|
||||
ssj_parser.sentence_generator(),
|
||||
kres_parser.sentence_generator(),
|
||||
args.dbaddr,
|
||||
args.dbuser,
|
||||
args.dbpass,
|
||||
|
|
Loading…
Reference in New Issue
Block a user