Commit 2c663a4c by ajil.k

added env file and updated with dictionary comprehension

parent 70576749
db=db_person
collection=personal_details
\ No newline at end of file
DB=db_person
COLLECTION=personal_details
\ No newline at end of file
......@@ -21,5 +21,5 @@ log_filename = config.get("Logs_Path", "log_name")
# Load data from .env file
load_dotenv()
db_name = os.getenv("db")
collection_name = os.getenv("collection")
db_name = os.getenv("DB")
collection_name = os.getenv("COLLECTION")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment