From 589dd80df47f2e5ed8b57d5e61aa6e7c764764ab Mon Sep 17 00:00:00 2001 From: Adam Shapiro Date: Mon, 9 Dec 2024 16:11:44 -0500 Subject: [PATCH] Fixed p1_capture type hint error if pyserial isn't installed. --- python/fusion_engine_client/applications/p1_capture.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/fusion_engine_client/applications/p1_capture.py b/python/fusion_engine_client/applications/p1_capture.py index 6cc09abe..f9ff5c21 100755 --- a/python/fusion_engine_client/applications/p1_capture.py +++ b/python/fusion_engine_client/applications/p1_capture.py @@ -21,6 +21,7 @@ serial_supported = False # Dummy stand-in if pySerial is not installed. class serial: + class Serial: pass class SerialException: pass if __package__ is None or __package__ == "":