Commit e017297d by Alexander Kryklia

fix

parent c8bbcacf
...@@ -206,6 +206,8 @@ class DragAndDrop(object): ...@@ -206,6 +206,8 @@ class DragAndDrop(object):
Returns: True if within rule lists are equal, otherwise False. Returns: True if within rule lists are equal, otherwise False.
""" """
if flag == 'exact': if flag == 'exact':
if len(correct) != len(user):
return False
for el1, el2 in zip(correct, user): for el1, el2 in zip(correct, user):
if PositionsCompare(el1) != PositionsCompare(el2): if PositionsCompare(el1) != PositionsCompare(el2):
return False return False
......
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