mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
Fix typo in config exception string (#1418)
This commit is contained in:
parent
25df3b4c75
commit
5a5ff31a5b
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user