Commit dbff38e5 authored by Serge S. Koval's avatar Serge S. Koval

Typo fix

parent 911be801
...@@ -563,7 +563,7 @@ class InlineModelConverter(InlineModelConverterBase): ...@@ -563,7 +563,7 @@ class InlineModelConverter(InlineModelConverterBase):
if prop.direction.name == 'MANYTOONE': if prop.direction.name == 'MANYTOONE':
candidate = 'ONETOMANY' candidate = 'ONETOMANY'
else: else:
candidate = 'MANYTOONE' candidate = 'MANYTOMANY'
for prop in mapper.iterate_properties: for prop in mapper.iterate_properties:
if hasattr(prop, 'direction') and prop.direction.name == candidate: if hasattr(prop, 'direction') and prop.direction.name == candidate:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment