You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to strip my variables when I from dotenv import load_dotenv it keeps the trailing '\r' on my variables which is breaking my build and I have to manually update my variables or call os.environ['env_variable'].strip().
How can I avoid this?
The text was updated successfully, but these errors were encountered:
Hi @rlkelly, not sure if you meant to close this. .env file support variables in quotes, so this problem shouldn't arise. Try storing the variables as:
foo="bar"
Yes, we can remove the \r or \n from the variables, but I would not advise on using .strip() which also removes blank spaces.
Is it possible to strip my variables when I
from dotenv import load_dotenv
it keeps the trailing '\r' on my variables which is breaking my build and I have to manually update my variables or callos.environ['env_variable'].strip()
.How can I avoid this?
The text was updated successfully, but these errors were encountered: