main2
Bob Mottram 2019-11-05 12:13:41 +00:00
parent 122bd2503c
commit 3331fd09fc
1 changed files with 1 additions and 1 deletions

View File

@ -697,7 +697,7 @@ def removeAccount(baseDir: str,nickname: str,domain: str,port: int) -> bool:
os.remove(baseDir+'/keys/public/'+handle+'.pem')
if os.path.isdir(baseDir+'/sharefiles/'+nickname):
shutil.rmtree(baseDir+'/sharefiles/'+nickname)
if os.path.isfile(baseDir+'/wfdeactivated/'+handle+'.json':
if os.path.isfile(baseDir+'/wfdeactivated/'+handle+'.json'):
os.remove(baseDir+'/wfdeactivated/'+handle+'.json')
if os.path.isdir(baseDir+'/sharefilesdeactivated/'+nickname):
shutil.rmtree(baseDir+'/sharefilesdeactivated/'+nickname)