added time import

This commit is contained in:
Jacob Delgado 2023-09-13 02:50:10 -07:00
parent 27365c64db
commit 1aed501075

View File

@ -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