Added AZW3 as output format, fixed missing prefix in 'By Month' section.

This commit is contained in:
GRiker 2012-08-07 04:27:34 -06:00
parent e91c3824e2
commit 1792fad11c
3 changed files with 3 additions and 4 deletions

View File

@ -31,7 +31,7 @@ class PluginWidget(QWidget,Ui_Form):
sync_enabled = True
# Formats supported by this plugin
formats = set(['epub','mobi'])
formats = set(['azw3','epub','mobi'])
def __init__(self, parent=None):
QWidget.__init__(self, parent)
@ -872,7 +872,6 @@ class PrefixRules(GenericRulesTable):
('Math plus circled',u'\u2295'),
('Math times circled',u'\u2297'),
('Math times',u'\u00d7'),
('O slash',u'\u00d8'),
('Paragraph',u'\u00b6'),
('Percent',u'%'),
('Plus-or-minus',u'\u00b1'),

View File

@ -25,7 +25,7 @@ class EPUB_MOBI(CatalogPlugin):
minimum_calibre_version = (0, 7, 40)
author = 'Greg Riker'
version = (1, 0, 0)
file_types = set(['epub','mobi'])
file_types = set(['azw3','epub','mobi'])
THUMB_SMALLEST = "1.0"
THUMB_LARGEST = "2.0"

View File

@ -1337,7 +1337,7 @@ Author '{0}':
pBookTag['class'] = "line_item"
ptc = 0
pBookTag.insert(ptc, self.formatPrefix(book['prefix'],soup))
pBookTag.insert(ptc, self.formatPrefix(new_entry['prefix'],soup))
ptc += 1
spanTag = Tag(soup, "span")