Fix #3926 (Get list of books on device fails with Kindle DX with 0.6.20)

This commit is contained in:
Kovid Goyal 2009-11-03 08:38:14 -07:00
parent 4ab7c54c67
commit 3c66674bd8
3 changed files with 14 additions and 14 deletions

View File

@ -1,10 +1,9 @@
import re
from calibre.web.feeds.news import BasicNewsRecipe
class Cyberpresse(BasicNewsRecipe):
title = u'Cyberpresse'
__author__ = 'balok'
__author__ = 'balok and Sujata Raman'
description = 'Canadian news in French'
language = 'fr'

View File

@ -19,7 +19,7 @@ class NUUT2(USBMS):
supported_platforms = ['windows', 'osx', 'linux']
# Ordered list of supported formats
FORMATS = ['epub', 'pdft', 'txt']
FORMATS = ['epub', 'pdf', 'txt']
DRM_FORMATS = ['epub']
VENDOR_ID = [0x140e]

View File

@ -34,6 +34,7 @@ def metadata_from_formats(formats):
mi = metadata_from_filename(list(iter(formats))[0])
if not mi.authors:
mi.authors = [_('Unknown')]
return mi
def _metadata_from_formats(formats):
mi = MetaInformation(None, None)