Never build an AZW3 periodical, even if it's the preferred output format

(FIXME: this should ideally handle mobi both & mobi new formats, too)
This commit is contained in:
NiLuJe 2012-09-14 18:01:18 +02:00
parent 87fc87978b
commit 8eb97bbe83

View File

@ -234,6 +234,9 @@ class QueueBulk(QProgressDialog):
def fetch_scheduled_recipe(arg): # {{{ def fetch_scheduled_recipe(arg): # {{{
fmt = prefs['output_format'].lower() fmt = prefs['output_format'].lower()
# Never use AZW3 for periodicals...
if fmt == 'azw3':
fmt = 'mobi'
pt = PersistentTemporaryFile(suffix='_recipe_out.%s'%fmt.lower()) pt = PersistentTemporaryFile(suffix='_recipe_out.%s'%fmt.lower())
pt.close() pt.close()
recs = [] recs = []