Fixed potential variable undefined errors

Former-commit-id: 65168e24ed228816d4089241d4086317488fd696
Former-commit-id: 5c46855d45488b2ec5fd8b53040237fc224b45d4
This commit is contained in:
2023-06-15 17:02:44 -04:00
parent 183582efbb
commit 5d0abb0537
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -238,7 +238,7 @@ def refresh_encryption():
_proceed = curses_radio(('yes', 'no'), "are you sure you wish to re-encrypt all entries with this key?"
"\n\n\n\n\nWARNING: proceeding with this action will remove/overwrite"
" any directories matching the following:"
f"\n\n{home}/.local/share/sshyp.old\n{home}/.local/share/sshyp.new\n\n")
f"\n\n{home}/.local/share/sshyp.old\n{home}/.local/share/sshyp.new\n\n")
if _proceed != 0:
return 3