Commit 1a0dd6eadb92f7d058772148b4d11d3665f7ee83

Authored by Bartłomiej Nitoń
1 parent 9f7ed3ff

Bugfix to reflex validation in semantic validation.

Showing 1 changed file with 1 additions and 1 deletions
semantics/validation.py
... ... @@ -184,6 +184,6 @@ def examples_reflex_agreed(lexical_unit):
184 184 schema_reflex = lex_example.example.frame.get_char_value('ZWROTNOŚĆ').value
185 185 if (not (lexical_unit.is_reflexive() == bool(schema_reflex)) and
186 186 not (lexical_unit.is_reflexive() and not lexical_unit.is_new() and
187   - lex_example.arguments.filter(arguments__type__in=reflex_phrase_types()).exists())):
  187 + lex_example.example.arguments.filter(arguments__type__in=reflex_phrase_types()).exists())):
188 188 return False
189 189 return True
... ...