Open francescoVaglienti opened 3 months ago
Given a .env such as
TEST="This is missing no values"
and the following code
import os from dotenv import dotenv_values, load_dotenv load_dotenv() config = dotenv_values() print("--------------------") print(config["TEST"]) print("--------------------") print(os.environ["TEST"]) print("--------------------") print(os.environ["TEST"] == config["TEST"])
returns
-------------------- This is missing no values -------------------- "This is missing -------------------- False
This is on python-dotenv 1.0.1 using Python 3.10.14
Expected output would be
-------------------- This is missing no values -------------------- This is missing no values -------------------- True
Have reproduced this using 1.0.1 and python 3.12.
Given a .env such as
and the following code
returns
This is on python-dotenv 1.0.1 using Python 3.10.14
Expected output would be