util/Zeroconf.py
changeset 1743 c3c3d1318130
parent 1740 b789b695b5c6
child 1744 69dfdb26f600
--- a/util/Zeroconf.py	Tue Aug 15 16:48:49 2017 +0300
+++ b/util/Zeroconf.py	Tue Aug 15 17:01:51 2017 +0300
@@ -1120,7 +1120,7 @@
                         value = 0
 
                 # Only update non-existent properties
-                if key and result.get(key) == None:
+                if key and result.get(key) is None:
                     result[key] = value
 
             self.properties = result