optimize local db

This commit is contained in:
2022-06-08 21:39:45 +02:00
parent 80d362b174
commit 20c84b2a14
9 changed files with 95 additions and 56 deletions
-4
View File
@@ -2,9 +2,6 @@ import configparser
import getpass
import os
from pathlib import Path
from db.local_db_manager import LocalDbManager
home = str(Path.home())
config = configparser.ConfigParser()
print("home path: " + home)
@@ -17,5 +14,4 @@ FIREBASE_CONFIG_FILE = config['DEFAULT']['firebase_config_file']
LOGS_DIR = config['DEFAULT']['LOGS_DIR']
username = getpass.getuser()
LOG_SOURCE = username
local_db_manager = LocalDbManager(home)
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))