Skip to content

Commit

Permalink
Fixed p1_capture type hint error if pyserial isn't installed. (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamshapiro0 authored Dec 9, 2024
2 parents 561aba6 + 589dd80 commit 21bedb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/fusion_engine_client/applications/p1_capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__ == "":
Expand Down

0 comments on commit 21bedb4

Please sign in to comment.