diff options
Diffstat (limited to 'ice_validator/preload')
-rw-r--r-- | ice_validator/preload/environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ice_validator/preload/environment.py b/ice_validator/preload/environment.py index 4851fcb..083be9b 100644 --- a/ice_validator/preload/environment.py +++ b/ice_validator/preload/environment.py @@ -225,7 +225,7 @@ class PreloadEnvironment: return [e for e in all_envs if e.is_leaf] def get_module(self, name): - name = name if name.lower().endswith(".env") else f"{name}.env".lower() + name = name if name.lower().endswith(".env") else "{}.env".format(name).lower() if name not in self.module_names: return {} result = {} |