Moved to collision-robust device name

This commit is contained in:
Joel Collins 2020-01-09 20:04:22 +00:00
parent cf19939379
commit 8a282db12b
9 changed files with 28 additions and 28 deletions

View file

@ -22,7 +22,7 @@ class MjpegStream(Resource):
"""
MJPEG stream from the microscope camera
"""
microscope = find_device("openflexure_microscope")
microscope = find_device("org.openflexure.microscope")
# Restart stream worker thread
microscope.camera.start_worker()
@ -46,7 +46,7 @@ class SnapshotStream(Resource):
:>header Content-Type: image/jpeg
:status 200: stream active
"""
microscope = find_device("openflexure_microscope")
microscope = find_device("org.openflexure.microscope")
# Restart stream worker thread
microscope.camera.start_worker()