소스 검색

log mac address when updating it

Maxime Alves LIRMM@home 3 년 전
부모
커밋
7b61b3c4c8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      pyheatpump/config.py

+ 1
- 0
pyheatpump/config.py 파일 보기

@@ -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…
취소
저장