We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e678b7 + 33d15bb commit 67e8ab3Copy full SHA for 67e8ab3
pupil_src/shared_modules/video_capture/neon_backend/background.py
@@ -75,15 +75,12 @@ def _event_loop(
75
ipc_push_url: str,
76
topic_prefix: str = "shared_camera.",
77
):
78
- with (
79
- NetworkInterface(
80
- topic_prefix=topic_prefix,
81
- ipc_pub_url=ipc_pub_url,
82
- ipc_sub_url=ipc_sub_url,
83
- ipc_push_url=ipc_push_url,
84
- ) as network,
85
- contextlib.suppress(KeyboardInterrupt),
86
- ):
+ with NetworkInterface(
+ topic_prefix=topic_prefix,
+ ipc_pub_url=ipc_pub_url,
+ ipc_sub_url=ipc_sub_url,
+ ipc_push_url=ipc_push_url,
+ ) as network, contextlib.suppress(KeyboardInterrupt):
87
process_started_event.set()
88
89
camera_model = cm.Camera_Model.from_file(
0 commit comments