summaryrefslogtreecommitdiff
path: root/__init__.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2012-12-18 18:57:01 -0200
committerdrebs <drebs@leap.se>2012-12-18 18:57:01 -0200
commit0799298acb902a7509f889bc01b22f610f8b0207 (patch)
tree64bce04e6669eeee0de0b052d425d5ff39e45b4a /__init__.py
parent451432b6d9630f118364a58aab4a553c0e0c453e (diff)
Correct typ0
Diffstat (limited to '__init__.py')
-rw-r--r--__init__.py4
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()