Skip to content
Snippets Groups Projects
Commit 25817279 authored by Thomas Juerges's avatar Thomas Juerges
Browse files

L2SS-183: Make Jan David happy again v2.0 :-)

parent 1d6ff189
No related branches found
No related tags found
1 merge request!40L2SS-183: Observation device
......@@ -393,7 +393,7 @@ class ObservationControl(Device):
time.sleep(sleep_time)
remaining_wait_time = remaining_wait_time - sleep_time
# Check if the observation object is really in OFF state.
if stopped is True:
if stopped:
self.info_stream("Successfully stopped the observation with ID={}.".format(obs_id))
else:
self.warn_stream("Could not shut down the Observation device (\"{}\") for observation ID={}. This means that there is a chance for a memory leak. Will continue anyway and forcefully delete the Observation object.".format(observation["device_name"], obs_id))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment