Jump to content

Recommended Posts

Posted

Hi,

I was able to resolve the issue. The problem was that the .env file wasn’t being read, so I updated the code to specify the path explicitly:

dotenv_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '.env')
load_dotenv(dotenv_path)

Now it works correctly.

Thanks everyone for your help.

  • Krydos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...