aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/decrypt-file.py
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2018-07-07 17:40:35 +0000
committerBen McGinnes <[email protected]>2018-07-07 17:40:35 +0000
commitcacca62d06c6cf4a291f7ab2571cf52d671d140f (patch)
tree561ba716f584abd3ba5648a397036a30be8a95ec /lang/python/examples/howto/decrypt-file.py
parentqt: Handle OpenPGP Diagnostic log (diff)
downloadgpgme-cacca62d06c6cf4a291f7ab2571cf52d671d140f.tar.gz
gpgme-cacca62d06c6cf4a291f7ab2571cf52d671d140f.zip
python bindings: howto examples
* Made sure all example scripts meet PEP8 compliance. * Required fixing approx. a dozen of them in minor ways.
Diffstat (limited to 'lang/python/examples/howto/decrypt-file.py')
-rwxr-xr-xlang/python/examples/howto/decrypt-file.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python/examples/howto/decrypt-file.py b/lang/python/examples/howto/decrypt-file.py
index b38acc79..2fe37f27 100755
--- a/lang/python/examples/howto/decrypt-file.py
+++ b/lang/python/examples/howto/decrypt-file.py
@@ -32,10 +32,10 @@ if len(sys.argv) == 3:
newfile = sys.argv[2]
elif len(sys.argv) == 2:
ciphertext = sys.argv[1]
- newfile = input("Enter path and filename of file to save decrypted data to: ")
+ newfile = input("Enter path and filename to save decrypted data to: ")
else:
ciphertext = input("Enter path and filename of encrypted file: ")
- newfile = input("Enter path and filename of file to save decrypted data to: ")
+ newfile = input("Enter path and filename to save decrypted data to: ")
with open(ciphertext, "rb") as cfile:
try: