From 5f7e37187fc2b643ae6e0845745a4d09477d4b24 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 3 Nov 2022 12:03:26 +0100 Subject: [PATCH] Fixed local firmware cache location for rnodeconf --- RNS/Utilities/rnodeconf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RNS/Utilities/rnodeconf.py b/RNS/Utilities/rnodeconf.py index 51a8d79..e0a4095 100644 --- a/RNS/Utilities/rnodeconf.py +++ b/RNS/Utilities/rnodeconf.py @@ -218,7 +218,7 @@ UPD_DIR = None FWD_DIR = None try: - CNF_DIR = os.path.expanduser("~/.local/rnodeconf") + CNF_DIR = os.path.expanduser("~/.config/rnodeconf") UPD_DIR = CNF_DIR+"/update" FWD_DIR = CNF_DIR+"/firmware" @@ -906,7 +906,7 @@ def ensure_firmware_file(fw_filename): pass else: RNS.log("") - RNS.log("Firmware corrupt.") + RNS.log("Firmware corrupt. Try clearing the local firmware cache with: rnodeconf --clear-cache") exit(96) except Exception as e: