Explorar el Código

log mac address when updating it

Maxime Alves LIRMM@home hace 3 años
padre
commit
7b61b3c4c8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      pyheatpump/config.py

+ 1
- 0
pyheatpump/config.py Ver fichero

@@ -72,6 +72,7 @@ def mac_address_init():
72 72
     addr = ifaddresses(interface)[AF_LINK][0]['addr']
73 73
     config.set('heatpump', 'mac_address', addr)
74 74
     save_config()
75
+    logger.info('Got new mac address {addr}')
75 76
     return addr
76 77
 
77 78
 

Loading…
Cancelar
Guardar