Fixed critical typo preventing folder syncing from working

This commit is contained in:
2022-02-16 13:46:42 -05:00
parent 344c74b728
commit a417478aa0
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ def print_info(): # prints help text based on argument
print('/ /')
print('/ sshyp Copyright (C) 2021-2022 Randall Winkhart /')
print('/ /')
print('/ Version 2022.02.16.fr4.5 /')
print('/ Version 2022.02.16.fr4.6 /')
print('/ The High-Tech Shears Update /')
print('/ /')
print('////////////////////////////////////////////////////////\n')
+2 -2
View File
@@ -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')