runtime/PLCObject.py
changeset 1743 c3c3d1318130
parent 1742 92932cd370a4
child 1745 f9d32913bad4
--- a/runtime/PLCObject.py	Tue Aug 15 16:48:49 2017 +0300
+++ b/runtime/PLCObject.py	Tue Aug 15 17:01:51 2017 +0300
@@ -477,7 +477,7 @@
                 # keep a copy of requested idx
                 self._ResetDebugVariables()
                 for idx, iectype, force in idxs:
-                    if force != None:
+                    if force is not None:
                         c_type, unpack_func, pack_func = \
                             TypeTranslator.get(iectype,
                                                     (None, None, None))