Make sure the page list is populated even if it's not in the existing metadata

git-svn-id: http://comictagger.googlecode.com/svn/trunk@362 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2013-01-28 20:59:08 +00:00
parent d40de5b67e
commit df3544e734
2 changed files with 1 additions and 1 deletions

View File

@ -485,6 +485,7 @@ class TaggerWindow( QtGui.QMainWindow):
def actualLoadCurrentArchive( self ):
if self.metadata.isEmpty:
self.metadata = self.comic_archive.metadataFromFilename( )
if len(self.metadata.pages) == 0:
self.metadata.setDefaultPageList( self.comic_archive.getNumberOfPages() )
self.updateCoverImage()

View File

@ -15,7 +15,6 @@ Look into using libarchive
-----------------------------------------------------
Bugs
-----------------------------------------------------
Auto-Tag doesn't save page list info!
Rar flakes out when a space is at the front of the subfolder in the archive.
Zip flakes out when filename differs from index (or whatever) i.e "\" vs "/". Python issue