python-dotenv
python-dotenv copied to clipboard
Manage Permission denied
Il the access of .env file is refused, a PermissionError is raise.
It's the case with firejail to protect the access of .env files.
The code may tolerate this situation and continue to search another one.
In main.py, update the line 55 with
if self.dotenv_path and os.path.isfile(self.dotenv_path) and os.access(self.dotenv_path,os.R_OK):