Skip to content

Commit c1a1f1a

Browse files
committed
Added a return to stop an error occuring on no connection
1 parent 3b053ad commit c1a1f1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

microscope/stages/ludl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def __init__(self, port: str, baudrate: int, timeout: float) -> None:
117117
answer = self.read_multiline()
118118
except:
119119
print("Unable to read configuration. Is Ludl connected?")
120-
return()
120+
return
121121
# parse config responce which tells us what devices are present
122122
# on this controller.
123123

0 commit comments

Comments
 (0)