Extras fix

This commit is contained in:
Mark Cheese 2020-07-06 01:54:40 -04:00 committed by GitHub
parent 62cb553173
commit 53a6d6f370
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ def execute(json_input, output_file, check_extras=False) -> None:
""" """
if not valid_input_output(json_input, output_file): if not valid_input_output(json_input, output_file):
exit(1) exit(1)
check_extra_inputs(json_input, output_file) check_extra_inputs(json_input, output_file, check_extras)
LOGGER.info("Loading json file into memory") LOGGER.info("Loading json file into memory")
with json_input.open("r", encoding="utf8") as json_file: with json_input.open("r", encoding="utf8") as json_file: