Formatted with black again.

This commit is contained in:
Frieder Steinmetz
2026-01-22 17:49:58 +01:00
parent 5059920696
commit a8396e6cce

View File

@@ -272,7 +272,7 @@ def create_snooper(spec: str) -> Generator[Snooper, None, None]:
# Pipes we have to open with unbuffered binary I/O
# so we pass ``buffering`` for pipes but not for files
pcap_file: BinaryIO
if io_type == 'pipe':
if io_type == 'pipe':
pcap_file = open(file_path, 'wb', buffering=0)
else:
pcap_file = open(file_path, 'wb')