Maxime Alves LIRMM@home 3 vuotta sitten
vanhempi
commit
a8c61ad61c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      pyheatpump/config.py

+ 1
- 1
pyheatpump/config.py Näytä tiedosto

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

Loading…
Peruuta
Tallenna