commit fd84031ee6fc07e25a3488f9a3713bb84c7e1fcd
parent 87504281b16a58f89b061298dde1c4abd4d59f8e
Author: lash <dev@holbrook.no>
Date: Wed, 11 May 2022 18:18:14 +0000
Add after the fact prefix setter
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/confini/config.py b/confini/config.py
@@ -62,6 +62,10 @@ class Config:
self.dirs.append(d)
+ def set_env_prefix(self, v):
+ self.env_prefix = v
+
+
def add_override_dir(self, v):
if not os.path.isdir(v):
raise OSError('{} is not a directory'.format(v))
@@ -300,7 +304,6 @@ class Config:
else:
return None
- #return self._decrypt(k, v, self.src_dirs.get(k))
return self._decrypt(k, v)