diff --git a/recipes/stamgasten.recipe b/recipes/stamgasten.recipe index 9a637eb7d6..3c7b9cfab8 100644 --- a/recipes/stamgasten.recipe +++ b/recipes/stamgasten.recipe @@ -1,3 +1,5 @@ +from calibre.web.feeds.news import BasicNewsRecipe + class AdvancedUserRecipe1347706704(BasicNewsRecipe): title = u'Stamgasten' __author__ = u'DrMerry' diff --git a/src/calibre/library/catalogs/epub_mobi_builder.py b/src/calibre/library/catalogs/epub_mobi_builder.py index 04e64b9695..41c42b3705 100644 --- a/src/calibre/library/catalogs/epub_mobi_builder.py +++ b/src/calibre/library/catalogs/epub_mobi_builder.py @@ -989,8 +989,8 @@ class CatalogBuilder(object): file_fmts.add(fmt) bookmark_extension = None - if file_fmts.intersection(han_formats): - book_extension = list(file_fmts.intersection(han_formats))[0] + if file_fmts.intersection(tan_formats): + book_extension = list(file_fmts.intersection(tan_formats))[0] bookmark_extension = 'han' elif file_fmts.intersection(mbp_formats): book_extension = list(file_fmts.intersection(mbp_formats))[0]