scripts/fixer.py
def main():
    """Iterate over each folder and check each file."""

    for folder in os.listdir(MAIN_FOLDER):

        for file in os.listdir(MAIN_FOLDER + folder):

            full_path = MAIN_FOLDER + folder + "/" + file

            if os.stat(full_path).st_size <= 20000:
                redownload(full_path)

            check_file(full_path)
Iterate over each folder and check each file.
Iterate over each folder and check each file.
Iterate over each folder and check each file .
def main():
    for folder in os.listdir(MAIN_FOLDER):
        for file in os.listdir(MAIN_FOLDER + folder):
            full_path = MAIN_FOLDER + folder + "/" + file
            if os.stat(full_path).st_size <= 20000:
                redownload(full_path)
            check_file(full_path)
def main ( ) : for folder in os . listdir ( MAIN_FOLDER ) : for file in os . listdir ( MAIN_FOLDER + folder ) : full_path = MAIN_FOLDER + folder + "/" + file if os . stat ( full_path ) . st_size <= 20000 : redownload ( full_path ) check_file ( full_path )
Iterate over each folder and check each file.
Iterate over each folder and check each file .
"""Iterate over each folder and check each file."""