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

Python is not C++, it does not know Null but only None

parent 42fae889
No related branches found
No related tags found
No related merge requests found
...@@ -208,7 +208,7 @@ class StatsCrosslet(Device): ...@@ -208,7 +208,7 @@ class StatsCrosslet(Device):
self.debug_stream("Waiting for data acquisition thread to shut down...") self.debug_stream("Waiting for data acquisition thread to shut down...")
self.data_read_loop.join() self.data_read_loop.join()
self.debug_stream("Waiting for data acquisition thread to shut down, done") self.debug_stream("Waiting for data acquisition thread to shut down, done")
if self.client is not Null: if self.client is not None:
self.client.close_session() self.client.close_session()
self.client_secure_channel() self.client_secure_channel()
self.debug_stream("Shutdown done.") self.debug_stream("Shutdown done.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment