function to check if dialog is writable for specific tag style, e.g. CBI and RAR

git-svn-id: http://comictagger.googlecode.com/svn/trunk@73 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2012-11-20 21:19:08 +00:00
parent e544fcafc0
commit 00bd562a96

View File

@ -395,6 +395,13 @@ class ComicArchive:
return True
def isWritableForStyle( self, data_style ):
if self.isRar() and data_style == MetaDataStyle.CBI:
return False
return self.isWritable()
def seemsToBeAComicArchive( self ):
# Do we even care about extensions??
@ -403,7 +410,7 @@ class ComicArchive:
if (
( self.isZip() or self.isRar() or self.isFolder() )
and
( self.getNumberOfPages() > 3)
( self.getNumberOfPages() > 2)
):
return True