WHEW. GPG decryption now works correctly.

This commit is contained in:
2020-03-29 20:40:38 -04:00
parent 2545138ae1
commit 2b9b78d3f9
3 changed files with 11 additions and 17 deletions
+2 -2
View File
@@ -13,8 +13,7 @@ class GPG(object):
gpg = None
def __init__(self, home = None):
if home:
self.home = home
self.home = home
self.initHome()
def decrypt(self, fpath):
@@ -36,4 +35,5 @@ class GPG(object):
if not os.path.isdir(self.home):
raise ValueError('GPG home does not exist')
_logger.debug('Set GPG home to explicitly specified value {0}'.format(self.home))
self.gpg = gpg.Context(home_dir = self.home)
return(None)