Skip to content

Commit

Permalink
Better remote cleaning. Fix1
Browse files Browse the repository at this point in the history
  • Loading branch information
Shettland committed Jul 16, 2024
1 parent 0bb8554 commit f7338ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion relecov_tools/sftp_handle.py
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,8 @@ def execute_process(self):
target_folders = self.select_target_folders()
if self.download_option == "delete_only":
log.info("Initiating delete_only process")
for folder in target_folders.keys():
processed_folders = target_folders.keys()
for folder in processed_folders:
self.current_folder = folder
self.delete_remote_files(folder)
self.delete_remote_folder(folder)
Expand Down

0 comments on commit f7338ff

Please sign in to comment.