equal
deleted
inserted
replaced
526 """ |
526 """ |
527 Generate the thumbnail/preview views if needed, get the image info, and look for the title |
527 Generate the thumbnail/preview views if needed, get the image info, and look for the title |
528 """ |
528 """ |
529 |
529 |
530 prepare.info("Preparing image %s", self.path) |
530 prepare.info("Preparing image %s", self.path) |
531 |
531 |
532 # stat the image file to get the filesize and mtime |
532 # stat the image file to get the filesize and mtime |
533 st = os.stat(self.path) |
533 st = os.stat(self.path) |
534 |
534 |
535 self.filesize = st.st_size |
535 self.filesize = st.st_size |
536 self.timestamp = st.st_mtime |
536 self.timestamp = st.st_mtime |