Skip to content

Commit 6f15924

Browse files
committed
Fixing logic error
1 parent 5aece78 commit 6f15924

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pandas/io/xml.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,8 +1132,6 @@ def read_xml(
11321132
and not is_file_like(path_or_buffer)
11331133
and "\n" in path_or_buffer
11341134
):
1135-
with open("/home/richard/Desktop/file.txt", "a+") as fil:
1136-
fil.write(f"{path_or_buffer}\n\n\n")
11371135
warnings.warn(
11381136
"Passing literal xml to 'read_xml' is deprecated and "
11391137
"will be removed in a future version. To read from a "

0 commit comments

Comments
 (0)