Fixes for release
This commit is contained in:
@@ -5,10 +5,15 @@ from thesillyhome.model_creator.parse_data import parse_data_from_db
|
||||
from thesillyhome.model_creator.learning_model import train_all_actuator_models
|
||||
import logging
|
||||
import sys
|
||||
import os.path
|
||||
|
||||
if __name__ == "__main__":
|
||||
FORMAT = "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|
||||
|
||||
if os.path.isfile(f"/thesillyhome_src/log/thesillyhome.log"):
|
||||
with open("/thesillyhome_src/log/thesillyhome.log", "w"):
|
||||
pass
|
||||
|
||||
logging.basicConfig(
|
||||
filename="/thesillyhome_src/log/thesillyhome.log",
|
||||
encoding="utf-8",
|
||||
|
||||
@@ -41,7 +41,7 @@ password = f.decrypt(
|
||||
extdb_password = password
|
||||
extdb_database = "thesillyhomedb"
|
||||
extdb_username = "thesillyhome_general"
|
||||
extdb_host = "thesillyhomedb-instance-1.cdioawtidgpj.eu-west-2.rds.amazonaws.com"
|
||||
extdb_host = "thesillyhomedb.cluster-cdioawtidgpj.eu-west-2.rds.amazonaws.com"
|
||||
extdb_port = 3306
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user