mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
GwR fixes for read tag code
This commit is contained in:
parent
2c45204996
commit
a4649e5e31
@ -82,7 +82,6 @@ class PluginWidget(QWidget,Ui_Form):
|
||||
elif opt[0] in ['read_source_field_cb']:
|
||||
# Look for last-stored combo box value
|
||||
index = self.read_source_field_cb.findText(opt_value)
|
||||
print "last index: %d" % index
|
||||
if index == -1:
|
||||
index = self.read_source_field_cb.findText('Tag')
|
||||
self.read_source_field_cb.setCurrentIndex(index)
|
||||
|
@ -2676,14 +2676,7 @@ class EPUB_MOBI(CatalogPlugin):
|
||||
pBookTag = Tag(soup, "p")
|
||||
ptc = 0
|
||||
|
||||
# THIS SHOULDN'T BE NECESSARY
|
||||
# book with read/reading/unread symbol
|
||||
# for tag in book['tags']:
|
||||
# if tag == self.opts.read_tag:
|
||||
# book['read'] = True
|
||||
# break
|
||||
# else:
|
||||
# book['read'] = False
|
||||
book['read'] = self.discoverReadStatus(book)
|
||||
|
||||
# book with read|reading|unread symbol or wishlist item
|
||||
if self.opts.wishlist_tag in book.get('tags', []):
|
||||
@ -4552,7 +4545,6 @@ class EPUB_MOBI(CatalogPlugin):
|
||||
markerTags = []
|
||||
markerTags.extend(self.opts.exclude_tags.split(','))
|
||||
markerTags.extend(self.opts.note_tag.split(','))
|
||||
markerTags.extend(self.opts.read_tag.split(','))
|
||||
return markerTags
|
||||
|
||||
def letter_or_symbol(self,char):
|
||||
|
Loading…
x
Reference in New Issue
Block a user