Skip to content

Commit 048aeab

Browse files
committed
Fix bug in write for python3
1 parent 7cafff4 commit 048aeab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splunklib/modularinput/event_writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,5 @@ def write_xml_document(self, document):
8383
def close(self):
8484
"""Write the closing </stream> tag to make this XML well formed."""
8585
if self.header_written:
86-
self._out.write(b"</stream>")
86+
self._out.write("</stream>")
8787
self._out.flush()

0 commit comments

Comments
 (0)