File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3
3
from datapoint import DataPoint
4
4
import configparser
5
5
6
- CONFIG_FILE = "input .conf"
6
+ CONFIG_FILE = "ingress .conf"
7
7
8
8
config = configparser .ConfigParser ()
9
9
config .read (CONFIG_FILE )
Original file line number Diff line number Diff line change 8
8
from datapoint import DataPoint
9
9
from database import DbConnection
10
10
11
- CONFIG_FILE = "input .conf"
11
+ CONFIG_FILE = "ingress .conf"
12
12
13
13
config = configparser .ConfigParser ()
14
- config .read ("input.conf" )
14
+ config .read (CONFIG_FILE )
15
15
16
16
BASE_TOPIC = config ['mqtt' ]["base_topic" ]
17
17
HOST = config ['mqtt' ]['host' ]
Original file line number Diff line number Diff line change 5
5
from flask import Flask , request
6
6
app = Flask (__name__ )
7
7
8
- CONFIG_FILE = "input .conf"
8
+ CONFIG_FILE = "ingress .conf"
9
9
10
10
config = configparser .ConfigParser ()
11
- config .read ("input.conf" )
11
+ config .read (CONFIG_FILE )
12
12
13
13
LOGFILE = config ['logging' ]['file' ]
14
14
You can’t perform that action at this time.
0 commit comments