diff options
author | Ben McGinnes <[email protected]> | 2018-07-07 17:40:35 +0000 |
---|---|---|
committer | Ben McGinnes <[email protected]> | 2018-07-07 17:40:35 +0000 |
commit | cacca62d06c6cf4a291f7ab2571cf52d671d140f (patch) | |
tree | 561ba716f584abd3ba5648a397036a30be8a95ec /lang/python/examples/howto/decrypt-file.py | |
parent | qt: Handle OpenPGP Diagnostic log (diff) | |
download | gpgme-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-x | lang/python/examples/howto/decrypt-file.py | 4 |
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: |