Fixed syncing after incorrect arguments

Former-commit-id: 3fbc4a6717f8a56ae5419fe612479b30c7ec83a9 [formerly 92871d85d7]
Former-commit-id: 1beb51fd5844ef37a6be3db88ccfcd5422ba9cc5
This commit is contained in:
2023-02-21 16:15:41 -05:00
parent 764d165ad4
commit bf8adfc1c1
2 changed files with 81 additions and 79 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ def remote_list_fetch(_user_data): # captures and returns all necessary data fr
def deletion_sync(_deletion_database, _silent): # checks for and acts upon files and folders marked for deletion
for _file in _deletion_database:
if _file != '':
if _silent != 1:
if not _silent:
print(f"\u001b[38;5;208m{_file}\u001b[0m has been sheared, removing...")
delete(_file, 'locally')