Skip to content

Commit abdf69e

Browse files
author
Willi Ballenthin
committed
extract_record: print, not sys.stdout.write
1 parent 0c063bb commit abdf69e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/extract_record.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def main():
3737
record = evtx.get_record(args.record)
3838
if record is None:
3939
raise RuntimeError("Cannot find the record specified.")
40-
sys.stdout.write(record.data())
40+
print(record.data())
4141

4242

4343
if __name__ == "__main__":

0 commit comments

Comments
 (0)