fix: typo in config exception

This commit is contained in:
AbdulHamid Merii 2025-05-19 18:20:23 +01:00
parent 25df3b4c75
commit 3c67592d0d

View File

@ -89,7 +89,7 @@ class Config(object):
print("Config env:%s" % str(self._env)) print("Config env:%s" % str(self._env))
if not self._env: if not self._env:
raise ValueError("Missing environment in either init of environment variable") raise ValueError("Missing environment in either init or environment variable")
if self._env not in get_options(Environment): if self._env not in get_options(Environment):
raise ValueError("Invalid environment %s" % env) raise ValueError("Invalid environment %s" % env)
if relative_to is not None: if relative_to is not None: