소스 검색

always init mac in config module

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

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

@@ -52,6 +52,8 @@ config.read(filenames=CONFIG_FILES)
52 52
 API_HOST=config.get('api', 'host')
53 53
 API_PORT=config.get('api', 'port')
54 54
 
55
+mac_address_init()
56
+
55 57
 def save_config():
56 58
     with open(CONFIG_FILES[-1], 'w') as conf_file:
57 59
         config.write(conf_file)

Loading…
취소
저장