Skip to content

Commit 4d833c6

Browse files
committed
undo change in files.py; to be addressed in separate PR
1 parent 6563534 commit 4d833c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mathics/builtin/files.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,8 @@ def apply(self, channel, expr, evaluation):
793793
expr = expr.get_sequence()
794794
expr = Expression('Row', Expression('List', *expr))
795795

796-
text = evaluation.format_output(from_python(expr), 'text')
796+
evaluation.format = 'text'
797+
text = evaluation.format_output(from_python(expr))
797798
stream.write(six.text_type(text) + '\n')
798799
return Symbol('Null')
799800

0 commit comments

Comments
 (0)