Quellcode durchsuchen

[conf] typo conf is config

Maxime Alves LIRMM@home vor 3 Jahren
Ursprung
Commit
17d0142a51
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      pyheatpump/conf.py

+ 2
- 2
pyheatpump/conf.py Datei anzeigen

@@ -42,8 +42,8 @@ config = ConfigParser(
42 42
 config.read_dict(default_config)
43 43
 config.read(filenames=CONFIG_FILES)
44 44
 
45
-API_HOST=conf.get('api', 'host')
46
-API_PORT=conf.get('api', 'port')
45
+API_HOST=config.get('api', 'host')
46
+API_PORT=config.get('api', 'port')
47 47
 
48 48
 async def get_config(request):
49 49
     items = dict([ (

Laden…
Abbrechen
Speichern