From d460c1ed312f5399b11100613483c3b364ef7213 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 14 Sep 2024 00:00:54 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/spikeinterface/core/recording_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: