From 185baec03fc9591c30fc6d074c290b3886b8f835 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Wed, 12 Jul 2023 21:07:31 -0400 Subject: [PATCH] Fixed re-encryption not being possible in offline mode Former-commit-id: f608b138c1d850523c3c5cde0e65ec592a1e1a10 Former-commit-id: 0c5f542c6bf66e51c79969dd3ba60586d814d73a --- lib/stweak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stweak.py b/lib/stweak.py index 871d730..e26f035 100644 --- a/lib/stweak.py +++ b/lib/stweak.py @@ -229,7 +229,7 @@ def quick_unlock_config(_default): # re-encrypt/optimize all entries def refresh_encryption(): - _directory = sshyp_data.get('SSHYNC', 'local_dir').rstrip('/') + _directory = f"{home}/.local/share/sshyp" # warn the user of potential data loss and prompt to continue _proceed = curses_radio(('no', 'yes'), "WARNING: proceeding with this action will remove/overwrite any directories"