optimize local db
This commit is contained in:
@@ -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__))
|
||||
|
||||
Reference in New Issue
Block a user