Skip to content

Commit 587a00c

Browse files
committed
Wrapped IO in export form
1 parent a815a3e commit 587a00c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

evaluation_function.wl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ evalQuestionIO = Function[
3535
jsonData = Import[#1, "JSON"] //. List :> Association;
3636
command = jsonData["method"];
3737

38-
resultAssoc = Which[
38+
resultAssoc = ExportForm[Which[
3939
command == "eval", processEvaluate[jsonData],
4040
command == "preview", processPreview[jsonData],
4141
True, "Incorrect command"
42-
];
42+
]];
4343

4444
Print["Outputted JSON"];
4545
Print[resultAssoc];

0 commit comments

Comments
 (0)