mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-31 06:16:29 -04:00
Fixed critical typo preventing folder syncing from working
This commit is contained in:
+2
-2
@@ -38,7 +38,7 @@ def deletion_check(_client_device_name):
|
||||
|
||||
|
||||
def folder_check():
|
||||
open(expanduser('~/.config/sshyp/deletion_database'), 'w').write('')
|
||||
open(expanduser('~/.config/sshyp/folder_database'), 'w').write('')
|
||||
for _file in listdir(expanduser('~/.password-pasture')):
|
||||
if isdir(join('~/.config/sshyp/deletion_database/', _file)):
|
||||
if isdir(join('~/.config/sshyp/folder_database/', _file)):
|
||||
open(expanduser('~/.config/sshyp/folder_database'), 'a').write(_file + '\n')
|
||||
|
||||
Reference in New Issue
Block a user