Skip to content

Commit fe97905

Browse files
committed
removing unneeded attribute query
1 parent d39456f commit fe97905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mathics/format/outputform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ def times_expression_to_outputform_text(
771771
result = elem_txt
772772
else:
773773
result = result + " " + elem_txt
774-
if result.text == "":
774+
if result == "":
775775
result = "1"
776776
if prefactor == -1:
777777
result = "-" + result

0 commit comments

Comments
 (0)