We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eddb85b commit cea2cb7Copy full SHA for cea2cb7
microscope/device_server.py
@@ -332,6 +332,8 @@ def run(self):
332
time.sleep(5)
333
else:
334
break
335
+ # FIXME: if the above never succeds, then local variable
336
+ # 'device' will now be referenced before assignment.
337
self._devices = {cls_name: device}
338
339
if cls_is_type and issubclass(cls, FloatingDeviceMixin):
0 commit comments