Skip to content
Snippets Groups Projects
Commit 11c23aae authored by Simon Will's avatar Simon Will
Browse files

Handle incomplete feedback correctly in export view

parent e7b1ac11
No related branches found
No related tags found
No related merge requests found
......@@ -171,9 +171,10 @@ def export_feedback():
mrl = []
def append_piece(piece):
nl.append(piece.nl)
lin.append(piece.correct_lin)
mrl.append(piece.correct_mrl)
if piece.nl and piece.correct_lin and piece.correct_mrl:
nl.append(piece.nl)
lin.append(piece.correct_lin)
mrl.append(piece.correct_mrl)
for parent in independent_feedback:
append_piece(parent)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment