diff --git a/raspberry-environment/display.py b/raspberry-environment/display.py index d53d8e0..8932704 100644 --- a/raspberry-environment/display.py +++ b/raspberry-environment/display.py @@ -235,6 +235,9 @@ if __name__ == '__main__': list_of_files = glob.glob('/mnt/*.png') list_of_files.extend(glob.glob('/mnt/*.jpg')) list_of_files.extend(glob.glob('/mnt/*.bmp')) + list_of_files.extend(glob.glob('/mnt/*.PNG')) + list_of_files.extend(glob.glob('/mnt/*.JPG')) + list_of_files.extend(glob.glob('/mnt/*.BMP')) if list_of_files: latest_file = max(list_of_files, key=os.path.getctime)