def load_recent_photos(self):
        images = glob.glob(
            os.path.join(config.get('collection.dir'), '*', '*.jpg'))
        png_images = glob.glob(
            os.path.join(config.get('collection.dir'), '*', '*.png'))
        images.extend(png_images)
        recent_time = time.time() - 72*3600
        images = [(os.path.getmtime(fname), fname) for fname in images]
        images = [pair for pair in images if pair[0] > recent_time]
        images = [pair[1] for pair in sorted(images, reverse=True)]
        self.load_collection(images)
Loads the most recent photos (72hrs).
dataset/ETHPy150Open thesamet/webilder/src/webilder/WebilderDesktop.py/WebilderDesktopWindow.load_recent_photos