confini

Parse and merge multiple ini files in python3
git clone git://git.defalsify.org/python-confini.git
Log | Files | Refs | README | LICENSE

commit d1ba5268b54e180ef0bc88c1f85f095f749ab72b
parent 12a6260aaf30eee2017db00b256748d43ef76662
Author: nolash <dev@holbrook.no>
Date:   Thu, 27 Aug 2020 21:25:18 +0200

Stringify decrypted object value

Diffstat:
Mconfini/config.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/confini/config.py b/confini/config.py @@ -115,7 +115,8 @@ class Config: filename = os.path.join(self.dir, filename) f = open(filename, 'rb') logg.debug('decrypting entry {} in file {}'.format(k, f)) - v = gpg.decrypt_file(f) + d = gpg.decrypt_file(f) + v =str(d) f.close() return v