util/Zeroconf.py
changeset 1743 c3c3d1318130
parent 1740 b789b695b5c6
child 1744 69dfdb26f600
equal deleted inserted replaced
1742:92932cd370a4 1743:c3c3d1318130
  1118                         value = 1
  1118                         value = 1
  1119                     elif value == 'false' or not value:
  1119                     elif value == 'false' or not value:
  1120                         value = 0
  1120                         value = 0
  1121 
  1121 
  1122                 # Only update non-existent properties
  1122                 # Only update non-existent properties
  1123                 if key and result.get(key) == None:
  1123                 if key and result.get(key) is None:
  1124                     result[key] = value
  1124                     result[key] = value
  1125 
  1125 
  1126             self.properties = result
  1126             self.properties = result
  1127         except:
  1127         except:
  1128             traceback.print_exc()
  1128             traceback.print_exc()