We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77bd41f commit 5a94f08Copy full SHA for 5a94f08
bin/tokenize_all.py
@@ -33,7 +33,7 @@ def tokenize(lichen_config_data, my_concatenated_file, my_tokenized_file):
33
cli_args.append(language_token_data["command_args"][argument]["argument"])
34
else:
35
print(f"Error: Unknown tokenization argument {argument}")
36
- else: # Use the default arguments
+ elif "command_args" in language_token_data: # Use the default arguments if they exist
37
for argument in language_token_data["command_args"]:
38
if "default" in language_token_data["command_args"][argument].keys() and\
39
language_token_data["command_args"][argument]["default"]:
0 commit comments