diff --git a/Python_Scripts/DownloadSorter/DownloadSorter.py b/Python_Scripts/DownloadSorter/DownloadSorter.py index 6e6550c..8fb31a0 100644 --- a/Python_Scripts/DownloadSorter/DownloadSorter.py +++ b/Python_Scripts/DownloadSorter/DownloadSorter.py @@ -1,5 +1,6 @@ import os import shutil +import time EXCLUDE_FILE = 'DownloadSorter.py' @@ -25,7 +26,7 @@ def main(): # Set up the number of files originally for automation number_of_files = len(os.listdir(cwd)) time.sleep(20) - old_number = number_of_files + old_number = number_of_files # Possibly redundant number_of_files = len(os.listdir(cwd)) # If new files detected, organize them