Fix: Use MOBI fallback for KFX format when downloading news periodicals

Fixes #3033
This commit is contained in:
copilot-swe-agent[bot] 2026-03-11 02:43:12 +00:00 committed by Kovid Goyal
parent 9afc057ff8
commit 30a8a80d25
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -277,8 +277,8 @@ class QueueBulk(QProgressDialog):
def fetch_scheduled_recipe(arg): # {{{
fmt = prefs['output_format'].lower()
# Never use AZW3 for periodicals...
if fmt == 'azw3':
# Never use AZW3 or KFX for periodicals...
if fmt in ('azw3', 'kfx'):
fmt = 'mobi'
pt = PersistentTemporaryFile(suffix=f'_recipe_out.{fmt.lower()}')
pt.close()