Skip to content

Commit

Permalink
Fix dictionary logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkidu93 committed Dec 4, 2023
1 parent 9d4e159 commit bbe7cd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SIL.Machine.AspNetCore/Services/NmtPreprocessBuildJob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ buildOptionsObject is null
|| buildOptionsObject["use_key_terms"] is null
|| (bool)buildOptionsObject["use_key_terms"]!
)
&& sourceCorpora.ContainsKey(CorpusType.Term)
&& sourceCorpora[CorpusType.Term] is not null
&& targetCorpora.ContainsKey(CorpusType.Term)
&& targetCorpora[CorpusType.Term] is not null
)
{
Expand Down

0 comments on commit bbe7cd3

Please sign in to comment.