Fixed re-encryption not being possible in offline mode

Former-commit-id: f608b138c1d850523c3c5cde0e65ec592a1e1a10
Former-commit-id: 0c5f542c6bf66e51c79969dd3ba60586d814d73a
This commit is contained in:
2023-07-12 21:07:31 -04:00
parent f930ffe94a
commit 185baec03f
+1 -1
View File
@@ -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"