Skip to content

Commit

Permalink
[Bugfix:Plagiarism] Fix missing default tokenization args (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjallen authored May 18, 2022
1 parent 77bd41f commit 5a94f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/tokenize_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def tokenize(lichen_config_data, my_concatenated_file, my_tokenized_file):
cli_args.append(language_token_data["command_args"][argument]["argument"])
else:
print(f"Error: Unknown tokenization argument {argument}")
else: # Use the default arguments
elif "command_args" in language_token_data: # Use the default arguments if they exist
for argument in language_token_data["command_args"]:
if "default" in language_token_data["command_args"][argument].keys() and\
language_token_data["command_args"][argument]["default"]:
Expand Down

0 comments on commit 5a94f08

Please sign in to comment.