Commit a8f13063 authored by Jaromír Plhák's avatar Jaromír Plhák
Browse files

minor update due to change of data structure

parent 49b56b7c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -385,6 +385,7 @@ class Utils:
        json_files.save_json(data_json, user, assignment)
        tags = {}  # return translated tag ids
        for key, value in data_json["conversations"][str(index)][0].items():
            if not isinstance(value, list):
                tags[key] = id_table.get(value, "")
        return tags