Skip to content

Commit 4cc53ba

Browse files
committed
fix syntax error
1 parent 0b61ffd commit 4cc53ba

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

FPS.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def connect(device_name=None,baud=None,timeout=None,is_com=True):
275275
_ser = None
276276
if baud is None:
277277
baud=9600
278-
if timeout = None:
278+
if timeout is None:
279279
timeout = 10000
280280
if isFingerPrintConnected(is_com):
281281
_ser = serial.Serial(DEVICE_NAME,baudrate=baud,timeout=timeout)

FPS.pyc

22.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)