Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tahirjmakhdoomi authored Dec 5, 2024
1 parent 491659d commit af10b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/projects/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ def convert_prediction_json_to_annotation_result(pk, proj_type):
# converting prediction_json to result (wherever it exists) for every task.
if prediction_json == None:
return result
for pred_type, pred_json in prediction_json.keys():
for pred_type, pred_json in prediction_json.items():
for idx, val in enumerate(pred_json):
label_dict = {
"origin": "manual",
Expand Down

0 comments on commit af10b5a

Please sign in to comment.