From c6787cd6ffe8a2ac5f553a86603ec1abf18fb75e Mon Sep 17 00:00:00 2001
From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl>
Date: Wed, 24 Jun 2020 15:44:42 +0200
Subject: [PATCH] Python is not C++, it does not know Null but only None

---
 StatsCrosslet-DS/StatsCrosslet.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/StatsCrosslet-DS/StatsCrosslet.py b/StatsCrosslet-DS/StatsCrosslet.py
index 54c8de489..da7d9407d 100644
--- a/StatsCrosslet-DS/StatsCrosslet.py
+++ b/StatsCrosslet-DS/StatsCrosslet.py
@@ -208,7 +208,7 @@ class StatsCrosslet(Device):
         self.debug_stream("Waiting for data acquisition thread to shut down...")
         self.data_read_loop.join()
         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_secure_channel()
         self.debug_stream("Shutdown done.")
-- 
GitLab