Remove public key

master
Bob Mottram 2019-07-05 10:22:06 +01:00
parent e783b99737
commit 811abffe31
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ if args.rmaccount:
if os.path.isfile(baseDir+'/keys/private/'+handle+'.key'):
os.remove(baseDir+'/keys/private/'+handle+'.key')
accountRemoved=True
if os.path.isfile(baseDir+'/keys/public/'+handle+'.key'):
if os.path.isfile(baseDir+'/keys/public/'+handle+'.pem'):
os.remove(baseDir+'/keys/public/'+handle+'.pem')
accountRemoved=True
if accountRemoved: