diff options
Diffstat (limited to '__init__.py')
-rw-r--r-- | __init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/__init__.py b/__init__.py index 835111a5..4325d773 100644 --- a/__init__.py +++ b/__init__.py @@ -45,9 +45,9 @@ class Soledad(object): def _gen_secret(self): self._secret = ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(self.SECRET_LENGTH)) - cyphertext = self._gpg.encrypt(self._secret, self._fingerprint, self._fingerprint) + ciphertext = self._gpg.encrypt(self._secret, self._fingerprint, self._fingerprint) f = open(self.SECRET_PATH, 'w') - f.write(str(cyphertext)) + f.write(str(ciphertext)) f.close() |