Maxime Alves LIRMM@home 3 years ago
parent
commit
87499e4048
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      pyheatpump/config.py

+ 1
- 1
pyheatpump/config.py View File

@@ -52,7 +52,6 @@ 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 56
 def save_config():
58 57
     with open(CONFIG_FILES[-1], 'w') as conf_file:
@@ -77,6 +76,7 @@ def mac_address_init():
77 76
     logger.info(f'Got new mac address {addr}')
78 77
     return addr
79 78
 
79
+mac_address_init()
80 80
 
81 81
 def get_config_dict():
82 82
     c = config

Loading…
Cancel
Save