degal.py
changeset 7 235ae238f694
parent 6 d9d1f8e5f384
child 10 e8143d784b77
equal deleted inserted replaced
6:d9d1f8e5f384 7:235ae238f694
   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