We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cee34db + 9c493ca commit 37a163aCopy full SHA for 37a163a
1 file changed
modules/mpm3pmll/readall.py
@@ -17,7 +17,7 @@ def detect_modbus_usb_port():
17
try:
18
with open(device):
19
return device
20
- except FileNotFoundError:
+ except Exception:
21
pass
22
return known_devices[-1] # this does not make sense, but is the same behavior as the old code
23
0 commit comments