diff --git a/epicyon.py b/epicyon.py index 4f230fd3..defbe4c4 100644 --- a/epicyon.py +++ b/epicyon.py @@ -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: