delete disk usage file after soft reset
parent
f3b22dad56
commit
4afa3d87e5
|
@ -46,6 +46,7 @@ def soft_reset():
|
||||||
shutil.rmtree(path)
|
shutil.rmtree(path)
|
||||||
_ignore_not_found_delete(dbfiles.block_meta_db)
|
_ignore_not_found_delete(dbfiles.block_meta_db)
|
||||||
_ignore_not_found_delete(filepaths.upload_list)
|
_ignore_not_found_delete(filepaths.upload_list)
|
||||||
|
_ignore_not_found_delete(filepaths.usage_file)
|
||||||
onionrevents.event('softreset')
|
onionrevents.event('softreset')
|
||||||
logger.info("Soft reset Onionr", terminal=True)
|
logger.info("Soft reset Onionr", terminal=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue