Commit 2c663a4c by ajil.k

added env file and updated with dictionary comprehension

parent 70576749
db=db_person DB=db_person
collection=personal_details COLLECTION=personal_details
\ No newline at end of file \ No newline at end of file
...@@ -21,5 +21,5 @@ log_filename = config.get("Logs_Path", "log_name") ...@@ -21,5 +21,5 @@ log_filename = config.get("Logs_Path", "log_name")
# Load data from .env file # Load data from .env file
load_dotenv() load_dotenv()
db_name = os.getenv("db") db_name = os.getenv("DB")
collection_name = os.getenv("collection") 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