diff --git a/src/spikeinterface/core/recording_tools.py b/src/spikeinterface/core/recording_tools.py index 30cd54473c..f649e60b28 100644 --- a/src/spikeinterface/core/recording_tools.py +++ b/src/spikeinterface/core/recording_tools.py @@ -133,7 +133,7 @@ def write_binary_recording( # create a file with file_size_bytes file = open(file_path, "wb+") - if platform.system() == 'Windows': + if platform.system() == "Windows": file.seek(file_size_bytes - 1) file.write(b"\0") else: