Fixed list output.

Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
HeshamTB 2020-04-18 17:18:58 +03:00
parent 0cb6d56236
commit 8d2b822999
Signed by: Hesham
GPG Key ID: 74876157D199B09E

2
rsa.py
View File

@ -242,7 +242,7 @@ def listKeys():
if key[D] == 0: if key[D] == 0:
check = "".strip() check = "".strip()
else: check = '\u2713' else: check = '\u2713'
print("{} {}\n".format(key[ID], check)) print("{} {}\n".format(key[ID], check).strip())
def exportKey(keyFileName): def exportKey(keyFileName):
key = readKeyFile(keyFileName) key = readKeyFile(keyFileName)