From 4afa3d87e5093e5714d4af1c9e38e6be03241016 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sun, 19 Jan 2020 21:05:55 -0600 Subject: [PATCH] delete disk usage file after soft reset --- src/onionrcommands/softreset.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/onionrcommands/softreset.py b/src/onionrcommands/softreset.py index ad4f899b..8274cbdd 100644 --- a/src/onionrcommands/softreset.py +++ b/src/onionrcommands/softreset.py @@ -46,6 +46,7 @@ def soft_reset(): shutil.rmtree(path) _ignore_not_found_delete(dbfiles.block_meta_db) _ignore_not_found_delete(filepaths.upload_list) + _ignore_not_found_delete(filepaths.usage_file) onionrevents.event('softreset') logger.info("Soft reset Onionr", terminal=True)