config Pfad geändert, modbus angepasst, database modul angepasst
This commit is contained in:
parent
6c07fec275
commit
3533b5164c
11 changed files with 310 additions and 311 deletions
|
|
@ -5,7 +5,7 @@ Created on 29.01.2014
|
|||
'''
|
||||
from sys import stderr
|
||||
from socket import gethostname
|
||||
from Config.config import Config
|
||||
from Config.parser import config
|
||||
from datetime import datetime
|
||||
from flask import abort
|
||||
|
||||
|
|
@ -16,7 +16,7 @@ from decimal import Decimal
|
|||
from math import isnan
|
||||
|
||||
### LOAD CONFIG ###
|
||||
c = Config()
|
||||
c = config()
|
||||
conf = c.readConf()
|
||||
|
||||
api_host = gethostname() if conf['flask_server'] == '0.0.0.0' else conf['flask_server']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue