Continuation of recursive fix

This commit is contained in:
2022-02-16 15:59:11 -05:00
parent 894f406fd2
commit bde243c644
+1 -1
View File
@@ -42,4 +42,4 @@ def folder_check():
for _root, _directories, _files in walk(expanduser('~/.password-pasture')):
for _dir in _directories:
open(expanduser('~/.config/sshyp/folder_database'), 'a')\
.write(f"{_root.replace(expanduser('~/.password-pasture/'), '')}/{_dir}\n")
.write(f"{_root.replace(expanduser('~'), '')}/{_dir}\n")