Skip to content

Commit 76030a4

Browse files
committed
rename config file
1 parent 523d260 commit 76030a4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

database.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from datapoint import DataPoint
44
import configparser
55

6-
CONFIG_FILE = "input.conf"
6+
CONFIG_FILE = "ingress.conf"
77

88
config = configparser.ConfigParser()
99
config.read(CONFIG_FILE)

mqtt.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
from datapoint import DataPoint
99
from database import DbConnection
1010

11-
CONFIG_FILE = "input.conf"
11+
CONFIG_FILE = "ingress.conf"
1212

1313
config = configparser.ConfigParser()
14-
config.read("input.conf")
14+
config.read(CONFIG_FILE)
1515

1616
BASE_TOPIC = config['mqtt']["base_topic"]
1717
HOST = config['mqtt']['host']

restapi.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
from flask import Flask, request
66
app = Flask(__name__)
77

8-
CONFIG_FILE = "input.conf"
8+
CONFIG_FILE = "ingress.conf"
99

1010
config = configparser.ConfigParser()
11-
config.read("input.conf")
11+
config.read(CONFIG_FILE)
1212

1313
LOGFILE = config['logging']['file']
1414

0 commit comments

Comments
 (0)