From 5acfdb167aeeba6239412af8a0e2239b99201582 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 18 Sep 2012 23:03:51 +0530 Subject: [PATCH] ... --- recipes/stamgasten.recipe | 2 ++ src/calibre/library/catalogs/epub_mobi_builder.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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]