mirror of
https://github.com/google/bumble.git
synced 2026-04-16 00:25:31 +00:00
Formatted with black again.
This commit is contained in:
@@ -272,7 +272,7 @@ def create_snooper(spec: str) -> Generator[Snooper, None, None]:
|
|||||||
# Pipes we have to open with unbuffered binary I/O
|
# Pipes we have to open with unbuffered binary I/O
|
||||||
# so we pass ``buffering`` for pipes but not for files
|
# so we pass ``buffering`` for pipes but not for files
|
||||||
pcap_file: BinaryIO
|
pcap_file: BinaryIO
|
||||||
if io_type == 'pipe':
|
if io_type == 'pipe':
|
||||||
pcap_file = open(file_path, 'wb', buffering=0)
|
pcap_file = open(file_path, 'wb', buffering=0)
|
||||||
else:
|
else:
|
||||||
pcap_file = open(file_path, 'wb')
|
pcap_file = open(file_path, 'wb')
|
||||||
|
|||||||
Reference in New Issue
Block a user