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:
parent
e544fcafc0
commit
00bd562a96
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user