Browse Source

always init mac in config module

Maxime Alves LIRMM@home 3 years ago
parent
commit
382124e9b0
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      pyheatpump/config.py

+ 2
- 0
pyheatpump/config.py View File

@@ -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…
Cancel
Save